diff options
Diffstat (limited to 'keyboards/sixkeyboard/sixkeyboard.h')
| -rw-r--r-- | keyboards/sixkeyboard/sixkeyboard.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/sixkeyboard/sixkeyboard.h b/keyboards/sixkeyboard/sixkeyboard.h new file mode 100644 index 000000000..5c0820d7d --- /dev/null +++ b/keyboards/sixkeyboard/sixkeyboard.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #ifndef SIXKEYBOARD_H | ||
| 2 | #define SIXKEYBOARD_H | ||
| 3 | |||
| 4 | #include "quantum.h" | ||
| 5 | |||
| 6 | // This macro is an example of using a non-standard row-column matrix. The | ||
| 7 | // keyboard in question had 11 rows and 8 columns, but the rows were not all | ||
| 8 | // horizontal, and the columns were not all vertical. For example, row 2 | ||
| 9 | // contained "Print Screen", "N", "M", ",", ".", "/", "Right Shift", and | ||
| 10 | // "Left Alt". Column 0 contained "F6", "7", "O", "'", "Q", "D", "B", | ||
| 11 | // "Left Alt", "Up Arrow", and "Down Arrow". | ||
| 12 | // | ||
| 13 | // The macro makes programming the keys easier and in a more straight-forward | ||
| 14 | // manner because it realigns the keys into a 6x15 sensible keyboard layout | ||
| 15 | // instead of the obtuse 11x8 matrix. | ||
| 16 | |||
| 17 | |||
| 18 | void matrix_init_user(void); | ||
| 19 | void matrix_scan_user(void); | ||
| 20 | void led_set_user(uint8_t usb_led); | ||
| 21 | |||
| 22 | #endif \ No newline at end of file | ||
