Elixir + Nerves + keys = Elixir keyboard!
summary
Builds a working keyboard controller with Elixir + Nerves on a Raspberry Pi Zero, replacing the USB-ethernet gadget with a HID gadget, adding Circuits.GPIO to scan a matrix, and keeping an SSH EX shell over Wi‑Fi. Implements layers, on‑the‑fly macro recording and module hot‑reload; observes ~2 ms matrix scan and occasional 12–15 ms matrix→USB spikes. Proof‑of‑concept works in demo; tradeoffs are ~10× cost, larger size and slower boot, plus pending power/suspend handling.
AI-written summary · about
chapters (9)
- 0:00Start
- 0:29Speaker
- 1:15Outline
- 4:39Nerves 101
- 6:17Baby steps (1/4)
- 11:37A keyboard on top of the BEAM
- 15:50Pros & cons
- 18:35Future work
- 19:34DEMO time
related talks
46mFunctional IoT with Elixir and Nerves
33mFlexboard: Developing Zephyr on a Keyboard That Runs It
52mFrom Zero to IoT with Elixir and Nerves
46mThe Joy of Connecting Elixir to the Physical World
11mHow do Keyboards Work? HIDing, in Plain Sight!!
52mPhysical Elixir
39mNerves, NIFs, and Snake
33mFlexboard: Developing Zephyr on a Keyboard That Runs It
