After reading this tutorial you will be able to map a keyboard layout to a keyboard matrix.
Keyboard layout - is the placement of keys. Key caps are often labeled to show a keyboard’s layout.
Matrix - is a collection of switches electrically connected into rows and columns.
Transpose - is the mapping of layout rows to matrix columns. Used when diodes are oriented with anodes towards the matrix rows.
In most of the other keybrd tutorial examples:
There is no standard way keyboards are manufactured. Some variations are:
Any of these variations can use a mapping to align a layout with the matrix.
Modify the basic breadboard keyboard by flipping diodes, so that anodes are towards matrix rows (blue bus). The keybrd_7a_mapping_single-layer.ino sketch will run on the keyboard. Annotations in the sketch explain how mapping from LAYOUT to MATRIX works.
The keybrd_7b_mapping_multi-layer.ino sketch will run on the same keyboard.
1) Make a keyboard with an irregular matrix.
keybrd tutorial by Wolfram Volpi is licensed under a Creative Commons Attribution 4.0 International License.
Permissions beyond the scope of this license may be available at https://github.com/wolfv6/keybrd/issues/new.