Simple functioning 6-key rollower matrix keyboard firmware for Teensy implemented in Teensyduino.
- Arduino IDE
- Teensiduino installed into Arduino
- Teensy USB-based microcontroller (See tested versions)
- set up your own matrix and pinout
buttonColumns[]
buttonRows[]
keymap[][]
- keyboard layout in respect to matrix.- for details see documentation
pinDelay
- time (in microsecconds) to wait for pin level change- 10ms works with Teensy 4.0 and microswitches
- try to increase this slightly if you experience key registration artifacts
- indicator LED
led
- pin for LED controll to which indicator LED is connectedledBase
- "off" level of brightness for indicator LEDledOn
- "on" level of brightness for indicator LED
- Teensy 4.0
- Arduino IDE 1.8.10
- Teensyduino 1.49-beta4
- 6-key rollower is limitation of USB Keyboard BOOT Protocol. Bigger rollower limit could be implemented via Raw HID.