diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-06-21 22:39:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-21 22:39:54 -0400 |
| commit | 649b33d7783cf3021928534b7ae127e0a89e8807 (patch) | |
| tree | c2b5e0cf8ff4aa2918e3b88ab75dbdb071cc0a1d /keyboards/hhkb/hhkb.h | |
| parent | 464c8e274f993d3571fe5ea5e836fe55a3912ffe (diff) | |
| download | qmk_firmware-649b33d7783cf3021928534b7ae127e0a89e8807.tar.gz qmk_firmware-649b33d7783cf3021928534b7ae127e0a89e8807.zip | |
Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432)
* fixes from tmk's repo
* rename keyboard to keyboards
Diffstat (limited to 'keyboards/hhkb/hhkb.h')
| -rw-r--r-- | keyboards/hhkb/hhkb.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/hhkb/hhkb.h b/keyboards/hhkb/hhkb.h new file mode 100644 index 000000000..093d7aeab --- /dev/null +++ b/keyboards/hhkb/hhkb.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | #ifndef HHKB_H | ||
| 2 | #define HHKB_H | ||
| 3 | |||
| 4 | #include "matrix.h" | ||
| 5 | #include "keymap.h" | ||
| 6 | //#include "backlight.h" | ||
| 7 | #include <stddef.h> | ||
| 8 | |||
| 9 | #define KEYMAP( \ | ||
| 10 | K31, K30, K00, K10, K11, K20, K21, K40, K41, K60, K61, K70, K71, K50, K51, \ | ||
| 11 | K32, K01, K02, K13, K12, K23, K22, K42, K43, K62, K63, K73, K72, K52, \ | ||
| 12 | K33, K04, K03, K14, K15, K24, K25, K45, K44, K65, K64, K74, K53, \ | ||
| 13 | K34, K05, K06, K07, K16, K17, K26, K46, K66, K76, K75, K55, K54, \ | ||
| 14 | K35, K36, K37, K57, K56) \ | ||
| 15 | \ | ||
| 16 | { \ | ||
| 17 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ | ||
| 18 | { K10, K11, K12, K13, K14, K15, K16, K17 }, \ | ||
| 19 | { K20, K21, K22, K23, K24, K25, K26, KC_NO }, \ | ||
| 20 | { K30, K31, K32, K33, K34, K35, K36, K37 }, \ | ||
| 21 | { K40, K41, K42, K43, K44, K45, K46, KC_NO }, \ | ||
| 22 | { K50, K51, K52, K53, K54, K55, K56, K57 }, \ | ||
| 23 | { K60, K61, K62, K63, K64, K65, K66, KC_NO }, \ | ||
| 24 | { K70, K71, K72, K73, K74, K75, K76, KC_NO } \ | ||
| 25 | } | ||
| 26 | |||
| 27 | void matrix_init_user(void); | ||
| 28 | void matrix_scan_user(void); | ||
| 29 | |||
| 30 | #endif | ||
