Skip to content

Arduino keyboard firmware to convert a key matrix into keyboard input with multiple switchable key layers. Initially made only for the Pro Micro, but may be extended towards other boards later on.

Notifications You must be signed in to change notification settings

Ladus/ArduinoKeyboardFirmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 

Repository files navigation

ArduinoKeyboardFirmware

Arduino keyboard firmware to convert a key matrix into keyboard input with multiple switchable key layers. Initially made for use with an Arduino Pro Micro or Teensy 2.0.

Confirmed working arduino boards:

  • Pro Micro (Tested on 5V 16MHz, but it should work on 3.3V 8MHz as well)
  • Teensy 2.0

Ortho 12x4Key 3Layer

The project for which I started this endeavour. Wanting to create my own Planck-like Grid Keyboard, with 48 keys (12x4). The amount of rows and columns can be easily adjusted at the top of the main .ino file, underneath ////Config variables

Files

OrthoKey_12x4Key_2Layer.ino

This is the main file, here you can edit the amount of rows and columns that you want to use, and map the pins for those rows and columns. It also hosts the main application loop.

Keymap.ino

This is where you configure your keymap.

SetupPins.ino

This sets the pinmode for the input and output pins according to the configured data.

MatrixLoop.ino

This script loops through the matrix to determine the state for each switch. Next it checks the new state to the previous state to check whether the switch has changed. If the state has changed it will result in a switch being pressed or released, which will trigger the KeyHandlers.ino's function.

KeyHandlers.ino

This script is called from the MatrixLoop. This is where the keypress or release will be converted into an character from the Keymap.ino.

Usefull additional information:

About

Arduino keyboard firmware to convert a key matrix into keyboard input with multiple switchable key layers. Initially made only for the Pro Micro, but may be extended towards other boards later on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages