diff options
| author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2018-06-27 07:37:27 -0700 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-06-27 07:37:27 -0700 |
| commit | e84c07e6f7e74f99dcf9c016072057f559acb48c (patch) | |
| tree | 037adf655651be60b63c01d5a7f0679235030f76 /keyboards | |
| parent | 482ce08b32fcb4c189f2046894bf1396af1de0e0 (diff) | |
| download | qmk_firmware-e84c07e6f7e74f99dcf9c016072057f559acb48c.tar.gz qmk_firmware-e84c07e6f7e74f99dcf9c016072057f559acb48c.zip | |
Helix: Refactor and Configurator support (#3238)
* Matrix refactor
* Keymap refactor
* Configurator support
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/helix/helix.h | 12 | ||||
| -rw-r--r-- | keyboards/helix/info.json | 13 | ||||
| -rw-r--r-- | keyboards/helix/rev1/info.json | 14 | ||||
| -rw-r--r-- | keyboards/helix/rev1/keymaps/OLED_sample/keymap.c | 28 | ||||
| -rw-r--r-- | keyboards/helix/rev1/keymaps/default/keymap.c | 28 | ||||
| -rw-r--r-- | keyboards/helix/rev1/rev1.h | 20 | ||||
| -rw-r--r-- | keyboards/helix/rev2/info.json | 13 | ||||
| -rw-r--r-- | keyboards/helix/rev2/keymaps/default/keymap.c | 28 | ||||
| -rw-r--r-- | keyboards/helix/rev2/keymaps/five_rows/keymap.c | 24 | ||||
| -rw-r--r-- | keyboards/helix/rev2/keymaps/froggy/keymap.c | 14 | ||||
| -rw-r--r-- | keyboards/helix/rev2/keymaps/led_test/keymap.c | 28 | ||||
| -rw-r--r-- | keyboards/helix/rev2/rev2.h | 16 |
12 files changed, 133 insertions, 105 deletions
diff --git a/keyboards/helix/helix.h b/keyboards/helix/helix.h index cddeb8830..3a9d26c5b 100644 --- a/keyboards/helix/helix.h +++ b/keyboards/helix/helix.h | |||
| @@ -9,39 +9,39 @@ | |||
| 9 | #endif | 9 | #endif |
| 10 | 10 | ||
| 11 | #if HELIX_ROWS == 3 | 11 | #if HELIX_ROWS == 3 |
| 12 | #define KC_KEYMAP( \ | 12 | #define LAYOUT_kc( \ |
| 13 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 13 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 14 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 14 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 15 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 15 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 16 | ) \ | 16 | ) \ |
| 17 | KEYMAP( \ | 17 | LAYOUT( \ |
| 18 | KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \ | 18 | KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \ |
| 19 | KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \ | 19 | KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \ |
| 20 | KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ | 20 | KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ |
| 21 | ) | 21 | ) |
| 22 | #elif HELIX_ROWS == 4 | 22 | #elif HELIX_ROWS == 4 |
| 23 | // Used to create a keymap using only KC_ prefixed keys | 23 | // Used to create a keymap using only KC_ prefixed keys |
| 24 | #define KC_KEYMAP( \ | 24 | #define LAYOUT_kc( \ |
| 25 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 25 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 26 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 26 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 27 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 27 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 28 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ | 28 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ |
| 29 | ) \ | 29 | ) \ |
| 30 | KEYMAP( \ | 30 | LAYOUT( \ |
| 31 | KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \ | 31 | KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \ |
| 32 | KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \ | 32 | KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \ |
| 33 | KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ | 33 | KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ |
| 34 | KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35 \ | 34 | KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35 \ |
| 35 | ) | 35 | ) |
| 36 | #elif HELIX_ROWS == 5 | 36 | #elif HELIX_ROWS == 5 |
| 37 | #define KC_KEYMAP( \ | 37 | #define LAYOUT_kc( \ |
| 38 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 38 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 39 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 39 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 40 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 40 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 41 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ | 41 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ |
| 42 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45 \ | 42 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45 \ |
| 43 | ) \ | 43 | ) \ |
| 44 | KEYMAP( \ | 44 | LAYOUT( \ |
| 45 | KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \ | 45 | KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \ |
| 46 | KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \ | 46 | KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \ |
| 47 | KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ | 47 | KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ |
diff --git a/keyboards/helix/info.json b/keyboards/helix/info.json new file mode 100644 index 000000000..2aadcf91b --- /dev/null +++ b/keyboards/helix/info.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Helix", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 15, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "key_count": 64, | ||
| 10 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}, {"x":6, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
diff --git a/keyboards/helix/rev1/info.json b/keyboards/helix/rev1/info.json new file mode 100644 index 000000000..1c08468ea --- /dev/null +++ b/keyboards/helix/rev1/info.json | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Helix rev. 1", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 13, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "key_count": 60, | ||
| 10 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}, {"x":7, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
| 14 | |||
diff --git a/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c b/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c index 4f1ffb7c5..fa51501e6 100644 --- a/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c +++ b/keyboards/helix/rev1/keymaps/OLED_sample/keymap.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "helix.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "bootloader.h" | 2 | #include "bootloader.h" |
| 3 | #include "action_layer.h" | ||
| 4 | #include "eeconfig.h" | ||
| 5 | #include "LUFA/Drivers/Peripheral/TWI.h" | 3 | #include "LUFA/Drivers/Peripheral/TWI.h" |
| 6 | #ifdef AUDIO_ENABLE | 4 | #ifdef AUDIO_ENABLE |
| 7 | #include "audio.h" | 5 | #include "audio.h" |
| @@ -72,7 +70,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 72 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 70 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 73 | * `-----------------------------------------------------------------------------------' | 71 | * `-----------------------------------------------------------------------------------' |
| 74 | */ | 72 | */ |
| 75 | [_QWERTY] = KEYMAP( \ | 73 | [_QWERTY] = LAYOUT( \ |
| 76 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 74 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 77 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ | 75 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ |
| 78 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 76 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| @@ -93,7 +91,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 93 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 91 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 94 | * `-----------------------------------------------------------------------------------' | 92 | * `-----------------------------------------------------------------------------------' |
| 95 | */ | 93 | */ |
| 96 | [_COLEMAK] = KEYMAP( \ | 94 | [_COLEMAK] = LAYOUT( \ |
| 97 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 95 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 98 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_DEL, \ | 96 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_DEL, \ |
| 99 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 97 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| @@ -114,7 +112,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 114 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 112 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 115 | * `-----------------------------------------------------------------------------------' | 113 | * `-----------------------------------------------------------------------------------' |
| 116 | */ | 114 | */ |
| 117 | [_DVORAK] = KEYMAP( \ | 115 | [_DVORAK] = LAYOUT( \ |
| 118 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 116 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 119 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ | 117 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ |
| 120 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 118 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| @@ -135,7 +133,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 133 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 136 | * `-----------------------------------------------------------------------------------' | 134 | * `-----------------------------------------------------------------------------------' |
| 137 | */ | 135 | */ |
| 138 | [_LOWER] = KEYMAP( \ | 136 | [_LOWER] = LAYOUT( \ |
| 139 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ | 137 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ |
| 140 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \ | 138 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \ |
| 141 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 139 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| @@ -156,7 +154,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 156 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 154 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 157 | * `-----------------------------------------------------------------------------------' | 155 | * `-----------------------------------------------------------------------------------' |
| 158 | */ | 156 | */ |
| 159 | [_RAISE] = KEYMAP( \ | 157 | [_RAISE] = LAYOUT( \ |
| 160 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 158 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 161 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 159 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 162 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 160 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| @@ -177,7 +175,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 177 | * | | | | | | | | | | | | | 175 | * | | | | | | | | | | | | |
| 178 | * `-----------------------------------------------------------------------------------' | 176 | * `-----------------------------------------------------------------------------------' |
| 179 | */ | 177 | */ |
| 180 | [_ADJUST] = KEYMAP( \ | 178 | [_ADJUST] = LAYOUT( \ |
| 181 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ | 179 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ |
| 182 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 180 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 183 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 181 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| @@ -202,7 +200,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 202 | * `-----------------------------------------------------------------------------------' | 200 | * `-----------------------------------------------------------------------------------' |
| 203 | */ | 201 | */ |
| 204 | 202 | ||
| 205 | [_QWERTY] = KEYMAP( \ | 203 | [_QWERTY] = LAYOUT( \ |
| 206 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ | 204 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ |
| 207 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 205 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| 208 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 206 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -220,7 +218,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 220 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 218 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 221 | * `-----------------------------------------------------------------------------------' | 219 | * `-----------------------------------------------------------------------------------' |
| 222 | */ | 220 | */ |
| 223 | [_COLEMAK] = KEYMAP( \ | 221 | [_COLEMAK] = LAYOUT( \ |
| 224 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ | 222 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ |
| 225 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 223 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| 226 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 224 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -238,7 +236,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 238 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 236 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 239 | * `-----------------------------------------------------------------------------------' | 237 | * `-----------------------------------------------------------------------------------' |
| 240 | */ | 238 | */ |
| 241 | [_DVORAK] = KEYMAP( \ | 239 | [_DVORAK] = LAYOUT( \ |
| 242 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \ | 240 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \ |
| 243 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 241 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| 244 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ | 242 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ |
| @@ -256,7 +254,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 256 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 254 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 257 | * `-----------------------------------------------------------------------------------' | 255 | * `-----------------------------------------------------------------------------------' |
| 258 | */ | 256 | */ |
| 259 | [_LOWER] = KEYMAP( \ | 257 | [_LOWER] = LAYOUT( \ |
| 260 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ | 258 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ |
| 261 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 259 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| 262 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, \ | 260 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, \ |
| @@ -274,7 +272,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 274 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 272 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 275 | * `-----------------------------------------------------------------------------------' | 273 | * `-----------------------------------------------------------------------------------' |
| 276 | */ | 274 | */ |
| 277 | [_RAISE] = KEYMAP( \ | 275 | [_RAISE] = LAYOUT( \ |
| 278 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 276 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 279 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 277 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| 280 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, \ | 278 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, \ |
| @@ -292,7 +290,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 292 | * | | | | | | | | | | | | | 290 | * | | | | | | | | | | | | |
| 293 | * `-----------------------------------------------------------------------------------' | 291 | * `-----------------------------------------------------------------------------------' |
| 294 | */ | 292 | */ |
| 295 | [_ADJUST] = KEYMAP( \ | 293 | [_ADJUST] = LAYOUT( \ |
| 296 | _______, RESET, _______, M_SAMPLE, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 294 | _______, RESET, _______, M_SAMPLE, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 297 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 295 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| 298 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 296 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
diff --git a/keyboards/helix/rev1/keymaps/default/keymap.c b/keyboards/helix/rev1/keymaps/default/keymap.c index d7cf34053..7288cd752 100644 --- a/keyboards/helix/rev1/keymaps/default/keymap.c +++ b/keyboards/helix/rev1/keymaps/default/keymap.c | |||
| @@ -1,6 +1,4 @@ | |||
| 1 | #include "helix.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "action_layer.h" | ||
| 3 | #include "eeconfig.h" | ||
| 4 | 2 | ||
| 5 | extern keymap_config_t keymap_config; | 3 | extern keymap_config_t keymap_config; |
| 6 | 4 | ||
| @@ -44,7 +42,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 44 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 42 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 45 | * `-----------------------------------------------------------------------------------' | 43 | * `-----------------------------------------------------------------------------------' |
| 46 | */ | 44 | */ |
| 47 | [_QWERTY] = KEYMAP( \ | 45 | [_QWERTY] = LAYOUT( \ |
| 48 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 46 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 49 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ | 47 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ |
| 50 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 48 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| @@ -65,7 +63,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 65 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 63 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 66 | * `-----------------------------------------------------------------------------------' | 64 | * `-----------------------------------------------------------------------------------' |
| 67 | */ | 65 | */ |
| 68 | [_COLEMAK] = KEYMAP( \ | 66 | [_COLEMAK] = LAYOUT( \ |
| 69 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 67 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 70 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_DEL, \ | 68 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_DEL, \ |
| 71 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 69 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| @@ -86,7 +84,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 86 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 84 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 87 | * `-----------------------------------------------------------------------------------' | 85 | * `-----------------------------------------------------------------------------------' |
| 88 | */ | 86 | */ |
| 89 | [_DVORAK] = KEYMAP( \ | 87 | [_DVORAK] = LAYOUT( \ |
| 90 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 88 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 91 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ | 89 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ |
| 92 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 90 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| @@ -107,7 +105,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 107 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 105 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 108 | * `-----------------------------------------------------------------------------------' | 106 | * `-----------------------------------------------------------------------------------' |
| 109 | */ | 107 | */ |
| 110 | [_LOWER] = KEYMAP( \ | 108 | [_LOWER] = LAYOUT( \ |
| 111 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ | 109 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ |
| 112 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \ | 110 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \ |
| 113 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 111 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| @@ -128,7 +126,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 128 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 126 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 129 | * `-----------------------------------------------------------------------------------' | 127 | * `-----------------------------------------------------------------------------------' |
| 130 | */ | 128 | */ |
| 131 | [_RAISE] = KEYMAP( \ | 129 | [_RAISE] = LAYOUT( \ |
| 132 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 130 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 133 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 131 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 134 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 132 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| @@ -149,7 +147,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 149 | * | | | | | | | | | | | | | 147 | * | | | | | | | | | | | | |
| 150 | * `-----------------------------------------------------------------------------------' | 148 | * `-----------------------------------------------------------------------------------' |
| 151 | */ | 149 | */ |
| 152 | [_ADJUST] = KEYMAP( \ | 150 | [_ADJUST] = LAYOUT( \ |
| 153 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ | 151 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ |
| 154 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 152 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 155 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 153 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| @@ -174,7 +172,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 174 | * `-----------------------------------------------------------------------------------' | 172 | * `-----------------------------------------------------------------------------------' |
| 175 | */ | 173 | */ |
| 176 | 174 | ||
| 177 | [_QWERTY] = KEYMAP( \ | 175 | [_QWERTY] = LAYOUT( \ |
| 178 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ | 176 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, \ |
| 179 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 177 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| 180 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 178 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -192,7 +190,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 192 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 190 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 193 | * `-----------------------------------------------------------------------------------' | 191 | * `-----------------------------------------------------------------------------------' |
| 194 | */ | 192 | */ |
| 195 | [_COLEMAK] = KEYMAP( \ | 193 | [_COLEMAK] = LAYOUT( \ |
| 196 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ | 194 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ |
| 197 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 195 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| 198 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 196 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -210,7 +208,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 210 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | | 208 | * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | |
| 211 | * `-----------------------------------------------------------------------------------' | 209 | * `-----------------------------------------------------------------------------------' |
| 212 | */ | 210 | */ |
| 213 | [_DVORAK] = KEYMAP( \ | 211 | [_DVORAK] = LAYOUT( \ |
| 214 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \ | 212 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \ |
| 215 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 213 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| 216 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ | 214 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ |
| @@ -228,7 +226,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 228 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 226 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 229 | * `-----------------------------------------------------------------------------------' | 227 | * `-----------------------------------------------------------------------------------' |
| 230 | */ | 228 | */ |
| 231 | [_LOWER] = KEYMAP( \ | 229 | [_LOWER] = LAYOUT( \ |
| 232 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ | 230 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \ |
| 233 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 231 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| 234 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, \ | 232 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, \ |
| @@ -246,7 +244,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 246 | * | | | | | | | | Next | Vol- | Vol+ | Play | | 244 | * | | | | | | | | Next | Vol- | Vol+ | Play | |
| 247 | * `-----------------------------------------------------------------------------------' | 245 | * `-----------------------------------------------------------------------------------' |
| 248 | */ | 246 | */ |
| 249 | [_RAISE] = KEYMAP( \ | 247 | [_RAISE] = LAYOUT( \ |
| 250 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 248 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 251 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 249 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| 252 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, \ | 250 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, \ |
| @@ -264,7 +262,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 264 | * | | | | | | | | | | | | | 262 | * | | | | | | | | | | | | |
| 265 | * `-----------------------------------------------------------------------------------' | 263 | * `-----------------------------------------------------------------------------------' |
| 266 | */ | 264 | */ |
| 267 | [_ADJUST] = KEYMAP( \ | 265 | [_ADJUST] = LAYOUT( \ |
| 268 | _______, RESET, _______, M_SAMPLE, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 266 | _______, RESET, _______, M_SAMPLE, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 269 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 267 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| 270 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 268 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
diff --git a/keyboards/helix/rev1/rev1.h b/keyboards/helix/rev1/rev1.h index fb56de022..0245859a2 100644 --- a/keyboards/helix/rev1/rev1.h +++ b/keyboards/helix/rev1/rev1.h | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | #ifndef FLIP_HALF | 22 | #ifndef FLIP_HALF |
| 23 | // Standard Keymap | 23 | // Standard Keymap |
| 24 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 24 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
| 25 | #define KEYMAP( \ | 25 | #define LAYOUT( \ |
| 26 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 26 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 27 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 27 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 28 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 28 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| @@ -38,7 +38,7 @@ | |||
| 38 | #else | 38 | #else |
| 39 | // Keymap with right side flipped | 39 | // Keymap with right side flipped |
| 40 | // (TRRS jack on both halves are to the right) | 40 | // (TRRS jack on both halves are to the right) |
| 41 | #define KEYMAP( \ | 41 | #define LAYOUT( \ |
| 42 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 42 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 43 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 43 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 44 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 44 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| @@ -56,11 +56,11 @@ | |||
| 56 | #ifndef FLIP_HALF | 56 | #ifndef FLIP_HALF |
| 57 | // Standard Keymap | 57 | // Standard Keymap |
| 58 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 58 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
| 59 | #define KEYMAP( \ | 59 | #define LAYOUT( \ |
| 60 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 60 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 61 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 61 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 62 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 62 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 63 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ | 63 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ |
| 64 | ) \ | 64 | ) \ |
| 65 | { \ | 65 | { \ |
| 66 | { L00, L01, L02, L03, L04, L05 }, \ | 66 | { L00, L01, L02, L03, L04, L05 }, \ |
| @@ -75,11 +75,11 @@ | |||
| 75 | #else | 75 | #else |
| 76 | // Keymap with right side flipped | 76 | // Keymap with right side flipped |
| 77 | // (TRRS jack on both halves are to the right) | 77 | // (TRRS jack on both halves are to the right) |
| 78 | #define KEYMAP( \ | 78 | #define LAYOUT( \ |
| 79 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 79 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 80 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 80 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 81 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 81 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 82 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ | 82 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ |
| 83 | ) \ | 83 | ) \ |
| 84 | { \ | 84 | { \ |
| 85 | { L00, L01, L02, L03, L04, L05 }, \ | 85 | { L00, L01, L02, L03, L04, L05 }, \ |
| @@ -96,12 +96,12 @@ | |||
| 96 | #ifndef FLIP_HALF | 96 | #ifndef FLIP_HALF |
| 97 | // Standard Keymap | 97 | // Standard Keymap |
| 98 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 98 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
| 99 | #define KEYMAP( \ | 99 | #define LAYOUT( \ |
| 100 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 100 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 101 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 101 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 102 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 102 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 103 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ | 103 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ |
| 104 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45 \ | 104 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45 \ |
| 105 | ) \ | 105 | ) \ |
| 106 | { \ | 106 | { \ |
| 107 | { L00, L01, L02, L03, L04, L05 }, \ | 107 | { L00, L01, L02, L03, L04, L05 }, \ |
| @@ -118,12 +118,12 @@ | |||
| 118 | #else | 118 | #else |
| 119 | // Keymap with right side flipped | 119 | // Keymap with right side flipped |
| 120 | // (TRRS jack on both halves are to the right) | 120 | // (TRRS jack on both halves are to the right) |
| 121 | #define KEYMAP( \ | 121 | #define LAYOUT( \ |
| 122 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 122 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 123 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 123 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 124 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 124 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 125 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ | 125 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ |
| 126 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45 \ | 126 | L40, L41, L42, L43, L44, L45, R40, R41, R42, R43, R44, R45 \ |
| 127 | ) \ | 127 | ) \ |
| 128 | { \ | 128 | { \ |
| 129 | { L00, L01, L02, L03, L04, L05 }, \ | 129 | { L00, L01, L02, L03, L04, L05 }, \ |
diff --git a/keyboards/helix/rev2/info.json b/keyboards/helix/rev2/info.json new file mode 100644 index 000000000..0bbe2f892 --- /dev/null +++ b/keyboards/helix/rev2/info.json | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Helix rev. 2", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 15, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "key_count": 64, | ||
| 10 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":14, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}, {"x":6, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}] | ||
| 11 | } | ||
| 12 | } | ||
| 13 | } | ||
diff --git a/keyboards/helix/rev2/keymaps/default/keymap.c b/keyboards/helix/rev2/keymaps/default/keymap.c index 8c0fd8d9f..16af027ea 100644 --- a/keyboards/helix/rev2/keymaps/default/keymap.c +++ b/keyboards/helix/rev2/keymaps/default/keymap.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "helix.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "bootloader.h" | 2 | #include "bootloader.h" |
| 3 | #include "action_layer.h" | ||
| 4 | #include "eeconfig.h" | ||
| 5 | #ifdef PROTOCOL_LUFA | 3 | #ifdef PROTOCOL_LUFA |
| 6 | #include "lufa.h" | 4 | #include "lufa.h" |
| 7 | #include "split_util.h" | 5 | #include "split_util.h" |
| @@ -75,7 +73,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 75 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 73 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 76 | * `-------------------------------------------------------------------------------------------------' | 74 | * `-------------------------------------------------------------------------------------------------' |
| 77 | */ | 75 | */ |
| 78 | [_QWERTY] = KEYMAP( \ | 76 | [_QWERTY] = LAYOUT( \ |
| 79 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 77 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 80 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ | 78 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ |
| 81 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 79 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| @@ -96,7 +94,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 96 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 94 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 97 | * `-------------------------------------------------------------------------------------------------' | 95 | * `-------------------------------------------------------------------------------------------------' |
| 98 | */ | 96 | */ |
| 99 | [_COLEMAK] = KEYMAP( \ | 97 | [_COLEMAK] = LAYOUT( \ |
| 100 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 98 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 101 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ | 99 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ |
| 102 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 100 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| @@ -117,7 +115,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 117 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 115 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 118 | * `-------------------------------------------------------------------------------------------------' | 116 | * `-------------------------------------------------------------------------------------------------' |
| 119 | */ | 117 | */ |
| 120 | [_DVORAK] = KEYMAP( \ | 118 | [_DVORAK] = LAYOUT( \ |
| 121 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 119 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 122 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ | 120 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ |
| 123 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 121 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| @@ -138,7 +136,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 138 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 136 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 139 | * `-------------------------------------------------------------------------------------------------' | 137 | * `-------------------------------------------------------------------------------------------------' |
| 140 | */ | 138 | */ |
| 141 | [_LOWER] = KEYMAP( \ | 139 | [_LOWER] = LAYOUT( \ |
| 142 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ | 140 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ |
| 143 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ | 141 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ |
| 144 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 142 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| @@ -159,7 +157,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 159 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 157 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 160 | * `-------------------------------------------------------------------------------------------------' | 158 | * `-------------------------------------------------------------------------------------------------' |
| 161 | */ | 159 | */ |
| 162 | [_RAISE] = KEYMAP( \ | 160 | [_RAISE] = LAYOUT( \ |
| 163 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 161 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 164 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 162 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 165 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 163 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| @@ -180,7 +178,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 180 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | | 178 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | |
| 181 | * `-------------------------------------------------------------------------------------------------' | 179 | * `-------------------------------------------------------------------------------------------------' |
| 182 | */ | 180 | */ |
| 183 | [_ADJUST] = KEYMAP( \ | 181 | [_ADJUST] = LAYOUT( \ |
| 184 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ | 182 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ |
| 185 | _______, RESET, RGBRST, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 183 | _______, RESET, RGBRST, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 186 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 184 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| @@ -204,7 +202,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 204 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 202 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 205 | * `-------------------------------------------------------------------------------------------------' | 203 | * `-------------------------------------------------------------------------------------------------' |
| 206 | */ | 204 | */ |
| 207 | [_QWERTY] = KEYMAP( \ | 205 | [_QWERTY] = LAYOUT( \ |
| 208 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ | 206 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ |
| 209 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 207 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| 210 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 208 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -222,7 +220,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 222 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 220 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 223 | * `-------------------------------------------------------------------------------------------------' | 221 | * `-------------------------------------------------------------------------------------------------' |
| 224 | */ | 222 | */ |
| 225 | [_COLEMAK] = KEYMAP( \ | 223 | [_COLEMAK] = LAYOUT( \ |
| 226 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ | 224 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ |
| 227 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 225 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| 228 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 226 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -240,7 +238,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 240 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 238 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 241 | * `-------------------------------------------------------------------------------------------------' | 239 | * `-------------------------------------------------------------------------------------------------' |
| 242 | */ | 240 | */ |
| 243 | [_DVORAK] = KEYMAP( \ | 241 | [_DVORAK] = LAYOUT( \ |
| 244 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ | 242 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ |
| 245 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 243 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| 246 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ | 244 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ |
| @@ -258,7 +256,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 258 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 256 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 259 | * `-------------------------------------------------------------------------------------------------' | 257 | * `-------------------------------------------------------------------------------------------------' |
| 260 | */ | 258 | */ |
| 261 | [_LOWER] = KEYMAP( \ | 259 | [_LOWER] = LAYOUT( \ |
| 262 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ | 260 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ |
| 263 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 261 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| 264 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______, \ | 262 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______, \ |
| @@ -276,7 +274,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 276 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 274 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 277 | * `-------------------------------------------------------------------------------------------------' | 275 | * `-------------------------------------------------------------------------------------------------' |
| 278 | */ | 276 | */ |
| 279 | [_RAISE] = KEYMAP( \ | 277 | [_RAISE] = LAYOUT( \ |
| 280 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 278 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 281 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 279 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| 282 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PGDN, KC_PGUP, _______, \ | 280 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PGDN, KC_PGUP, _______, \ |
| @@ -294,7 +292,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 294 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | | 292 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | |
| 295 | * `-------------------------------------------------------------------------------------------------' | 293 | * `-------------------------------------------------------------------------------------------------' |
| 296 | */ | 294 | */ |
| 297 | [_ADJUST] = KEYMAP( \ | 295 | [_ADJUST] = LAYOUT( \ |
| 298 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 296 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 299 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 297 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| 300 | _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, \ | 298 | _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, \ |
diff --git a/keyboards/helix/rev2/keymaps/five_rows/keymap.c b/keyboards/helix/rev2/keymaps/five_rows/keymap.c index 05767efc0..548caf822 100644 --- a/keyboards/helix/rev2/keymaps/five_rows/keymap.c +++ b/keyboards/helix/rev2/keymaps/five_rows/keymap.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "helix.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "bootloader.h" | 2 | #include "bootloader.h" |
| 3 | #include "action_layer.h" | ||
| 4 | #include "eeconfig.h" | ||
| 5 | #ifdef PROTOCOL_LUFA | 3 | #ifdef PROTOCOL_LUFA |
| 6 | #include "lufa.h" | 4 | #include "lufa.h" |
| 7 | #include "split_util.h" | 5 | #include "split_util.h" |
| @@ -77,7 +75,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 77 | * |Lower | Lower| Caps | GUI | Alt | Space| BS | Enter| Space| Alt | GUI | Menu |Lower |Lower | | 75 | * |Lower | Lower| Caps | GUI | Alt | Space| BS | Enter| Space| Alt | GUI | Menu |Lower |Lower | |
| 78 | * `-------------------------------------------------------------------------------------------------' | 76 | * `-------------------------------------------------------------------------------------------------' |
| 79 | */ | 77 | */ |
| 80 | [_QWERTY] = KEYMAP( \ | 78 | [_QWERTY] = LAYOUT( \ |
| 81 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 79 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 82 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, \ | 80 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, \ |
| 83 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RCTL, \ | 81 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RCTL, \ |
| @@ -99,7 +97,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 99 | * |Lower | Lower| Caps | GUI | Alt | Space| BS | Enter| Space| Alt | GUI | Menu |Lower |Lower | | 97 | * |Lower | Lower| Caps | GUI | Alt | Space| BS | Enter| Space| Alt | GUI | Menu |Lower |Lower | |
| 100 | * `-------------------------------------------------------------------------------------------------' | 98 | * `-------------------------------------------------------------------------------------------------' |
| 101 | */ | 99 | */ |
| 102 | [_COLEMAK] = KEYMAP( \ | 100 | [_COLEMAK] = LAYOUT( \ |
| 103 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 101 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 104 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, \ | 102 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, \ |
| 105 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_RCTL, \ | 103 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_RCTL, \ |
| @@ -121,7 +119,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 121 | * |Lower | Lower| Caps | GUI | Alt | Space| BS | Enter| Space| Alt | GUI | Menu |Lower |Lower | | 119 | * |Lower | Lower| Caps | GUI | Alt | Space| BS | Enter| Space| Alt | GUI | Menu |Lower |Lower | |
| 122 | * `-------------------------------------------------------------------------------------------------' | 120 | * `-------------------------------------------------------------------------------------------------' |
| 123 | */ | 121 | */ |
| 124 | [_DVORAK] = KEYMAP( \ | 122 | [_DVORAK] = LAYOUT( \ |
| 125 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 123 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 126 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSLS, \ | 124 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSLS, \ |
| 127 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_RCTL, \ | 125 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_RCTL, \ |
| @@ -143,7 +141,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 143 | * | 0 | , | . | Enter| F5 | F10 | F12 | F12 | F5 | F10 | Enter| 0 | , | . | | 141 | * | 0 | , | . | Enter| F5 | F10 | F12 | F12 | F5 | F10 | Enter| 0 | , | . | |
| 144 | * `-------------------------------------------------------------------------------------------------' | 142 | * `-------------------------------------------------------------------------------------------------' |
| 145 | */ | 143 | */ |
| 146 | [_KEYPAD] = KEYMAP( \ | 144 | [_KEYPAD] = LAYOUT( \ |
| 147 | KC_TAB, KC_PSLS, KC_PAST, KC_DEL, KC_F1, KC_F6, KC_F1, KC_F6, KC_DEL, KC_TAB, KC_PSLS, KC_PAST, \ | 145 | KC_TAB, KC_PSLS, KC_PAST, KC_DEL, KC_F1, KC_F6, KC_F1, KC_F6, KC_DEL, KC_TAB, KC_PSLS, KC_PAST, \ |
| 148 | KC_KP_7, KC_KP_8, KC_KP_9, KC_BSPC, KC_F2, KC_F7, KC_F2, KC_F7, KC_BSPC, KC_KP_7, KC_KP_8, KC_KP_9, \ | 146 | KC_KP_7, KC_KP_8, KC_KP_9, KC_BSPC, KC_F2, KC_F7, KC_F2, KC_F7, KC_BSPC, KC_KP_7, KC_KP_8, KC_KP_9, \ |
| 149 | KC_KP_4, KC_KP_5, KC_KP_6, KC_PMNS, KC_F3, KC_F8, KC_F3, KC_F8, KC_PMNS, KC_KP_4, KC_KP_5, KC_KP_6, \ | 147 | KC_KP_4, KC_KP_5, KC_KP_6, KC_PMNS, KC_F3, KC_F8, KC_F3, KC_F8, KC_PMNS, KC_KP_4, KC_KP_5, KC_KP_6, \ |
| @@ -165,7 +163,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 165 | * | | 00 | | | | | | | | | | | 00 | | | 163 | * | | 00 | | | | | | | | | | | 00 | | |
| 166 | * `-------------------------------------------------------------------------------------------------' | 164 | * `-------------------------------------------------------------------------------------------------' |
| 167 | */ | 165 | */ |
| 168 | [_KAUX] = KEYMAP( \ | 166 | [_KAUX] = LAYOUT( \ |
| 169 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 167 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
| 170 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 168 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
| 171 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 169 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
| @@ -186,7 +184,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 186 | * | | | | | | | | | | | | | | | | 184 | * | | | | | | | | | | | | | | | |
| 187 | * `-------------------------------------------------------------------------------------------------' | 185 | * `-------------------------------------------------------------------------------------------------' |
| 188 | */ | 186 | */ |
| 189 | [_PADFUNC] = KEYMAP( \ | 187 | [_PADFUNC] = LAYOUT( \ |
| 190 | XXXXXXX, XXXXXXX, XXXXXXX, KC_PAUS, KC_SLCK, KC_PSCR, KC_PSCR, KC_SLCK, KC_PAUS, XXXXXXX, XXXXXXX, XXXXXXX, \ | 188 | XXXXXXX, XXXXXXX, XXXXXXX, KC_PAUS, KC_SLCK, KC_PSCR, KC_PSCR, KC_SLCK, KC_PAUS, XXXXXXX, XXXXXXX, XXXXXXX, \ |
| 191 | XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_UP, KC_PGUP, KC_PGUP, KC_UP, KC_HOME, XXXXXXX, XXXXXXX, XXXXXXX, \ | 189 | XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_UP, KC_PGUP, KC_PGUP, KC_UP, KC_HOME, XXXXXXX, XXXXXXX, XXXXXXX, \ |
| 192 | XXXXXXX, KC_DEL, KC_INS, KC_LEFT, KC_DOWN, KC_RGHT, KC_LEFT, KC_DOWN, KC_RGHT, KC_INS, KC_DEL, XXXXXXX, \ | 190 | XXXXXXX, KC_DEL, KC_INS, KC_LEFT, KC_DOWN, KC_RGHT, KC_LEFT, KC_DOWN, KC_RGHT, KC_INS, KC_DEL, XXXXXXX, \ |
| @@ -208,7 +206,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 208 | * | | | PrtSc| | | | | | | | | PrtSc| | | | 206 | * | | | PrtSc| | | | | | | | | PrtSc| | | |
| 209 | * `-------------------------------------------------------------------------------------------------' | 207 | * `-------------------------------------------------------------------------------------------------' |
| 210 | */ | 208 | */ |
| 211 | [_LOWER] = KEYMAP( \ | 209 | [_LOWER] = LAYOUT( \ |
| 212 | XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, \ | 210 | XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, \ |
| 213 | XXXXXXX, XXXXXXX, KC_PAUS, KC_SLCK, KC_INS, XXXXXXX, XXXXXXX, KC_INS, KC_SLCK, KC_PAUS, XXXXXXX, KC_F12, \ | 211 | XXXXXXX, XXXXXXX, KC_PAUS, KC_SLCK, KC_INS, XXXXXXX, XXXXXXX, KC_INS, KC_SLCK, KC_PAUS, XXXXXXX, KC_F12, \ |
| 214 | _______, KC_HOME, XXXXXXX, KC_UP, KC_DEL, KC_PGUP, KC_PGUP, KC_DEL, KC_UP, XXXXXXX, KC_HOME, _______, \ | 212 | _______, KC_HOME, XXXXXXX, KC_UP, KC_DEL, KC_PGUP, KC_PGUP, KC_DEL, KC_UP, XXXXXXX, KC_HOME, _______, \ |
| @@ -230,7 +228,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 230 | * | | | | | | | | | | | | | | | | 228 | * | | | | | | | | | | | | | | | |
| 231 | * `-------------------------------------------------------------------------------------------------' | 229 | * `-------------------------------------------------------------------------------------------------' |
| 232 | */ | 230 | */ |
| 233 | [_RAISE] = KEYMAP( \ | 231 | [_RAISE] = LAYOUT( \ |
| 234 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, \ | 232 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, \ |
| 235 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LSFT(KC_MINS), KC_MINS, KC_EQL, LSFT(KC_EQL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, \ | 233 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LSFT(KC_MINS), KC_MINS, KC_EQL, LSFT(KC_EQL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, \ |
| 236 | _______, XXXXXXX, XXXXXXX, XXXXXXX, LSFT(KC_LBRC), KC_LBRC, KC_RBRC, LSFT(KC_RBRC), XXXXXXX, XXXXXXX, XXXXXXX, _______, \ | 234 | _______, XXXXXXX, XXXXXXX, XXXXXXX, LSFT(KC_LBRC), KC_LBRC, KC_RBRC, LSFT(KC_RBRC), XXXXXXX, XXXXXXX, XXXXXXX, _______, \ |
| @@ -252,7 +250,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 252 | * | | | | | | | | | | | | | | | | 250 | * | | | | | | | | | | | | | | | |
| 253 | * `-------------------------------------------------------------------------------------------------' | 251 | * `-------------------------------------------------------------------------------------------------' |
| 254 | */ | 252 | */ |
| 255 | [_ADJUST] = KEYMAP( \ | 253 | [_ADJUST] = LAYOUT( \ |
| 256 | XXXXXXX, XXXXXXX, KEYPAD, DVORAK, COLEMAK, QWERTY, QWERTY, COLEMAK, DVORAK, KEYPAD, XXXXXXX, XXXXXXX, \ | 254 | XXXXXXX, XXXXXXX, KEYPAD, DVORAK, COLEMAK, QWERTY, QWERTY, COLEMAK, DVORAK, KEYPAD, XXXXXXX, XXXXXXX, \ |
| 257 | XXXXXXX, RESET, RGBRST, RGB_TOG, AU_ON, AG_SWAP, AG_SWAP, AU_ON, RGB_TOG, RGBRST, XXXXXXX, XXXXXXX, \ | 255 | XXXXXXX, RESET, RGBRST, RGB_TOG, AU_ON, AG_SWAP, AG_SWAP, AU_ON, RGB_TOG, RGBRST, XXXXXXX, XXXXXXX, \ |
| 258 | RGB_HUI, RGB_SAI, RGB_VAI,RGB_SMOD, AU_OFF, AG_NORM, AG_NORM, AU_OFF,RGB_SMOD, RGB_VAI, RGB_SAI, RGB_HUI, \ | 256 | RGB_HUI, RGB_SAI, RGB_VAI,RGB_SMOD, AU_OFF, AG_NORM, AG_NORM, AU_OFF,RGB_SMOD, RGB_VAI, RGB_SAI, RGB_HUI, \ |
| @@ -273,7 +271,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 273 | * | | | | | | BS | Enter| | | | | | | | | 271 | * | | | | | | BS | Enter| | | | | | | | |
| 274 | * `-------------------------------------------------------------------------------------------------' | 272 | * `-------------------------------------------------------------------------------------------------' |
| 275 | */ | 273 | */ |
| 276 | [_AUX] = KEYMAP( \ | 274 | [_AUX] = LAYOUT( \ |
| 277 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 275 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
| 278 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 276 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
| 279 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 277 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
diff --git a/keyboards/helix/rev2/keymaps/froggy/keymap.c b/keyboards/helix/rev2/keymaps/froggy/keymap.c index c4f4c1fe2..5ac927af3 100644 --- a/keyboards/helix/rev2/keymaps/froggy/keymap.c +++ b/keyboards/helix/rev2/keymaps/froggy/keymap.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "helix.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "bootloader.h" | 2 | #include "bootloader.h" |
| 3 | #include "action_layer.h" | ||
| 4 | #include "eeconfig.h" | ||
| 5 | #ifdef PROTOCOL_LUFA | 3 | #ifdef PROTOCOL_LUFA |
| 6 | #include "lufa.h" | 4 | #include "lufa.h" |
| 7 | #include "split_util.h" | 5 | #include "split_util.h" |
| @@ -86,7 +84,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 86 | * | Ctrl | Alt | win | Sym | Num | OPT | Ent | | | | | | | | | 84 | * | Ctrl | Alt | win | Sym | Num | OPT | Ent | | | | | | | | |
| 87 | * `-------------------------------------------------------------------------------------------------' | 85 | * `-------------------------------------------------------------------------------------------------' |
| 88 | */ | 86 | */ |
| 89 | [_BASE] = KEYMAP( \ | 87 | [_BASE] = LAYOUT( \ |
| 90 | LCTL(KC_Z), KC_SCLN, KC_LBRC, KC_LPRN, KC_LT, KC_LCBR, _______, _______, _______, _______, _______, _______, \ | 88 | LCTL(KC_Z), KC_SCLN, KC_LBRC, KC_LPRN, KC_LT, KC_LCBR, _______, _______, _______, _______, _______, _______, \ |
| 91 | KANA, KC_P, KC_K, KC_R, KC_A, KC_F, _______, _______, _______, _______, _______, _______, \ | 89 | KANA, KC_P, KC_K, KC_R, KC_A, KC_F, _______, _______, _______, _______, _______, _______, \ |
| 92 | KC_BSPC, KC_D, KC_T, KC_H, KC_E, KC_O, _______, _______, _______, _______, _______, _______, \ | 90 | KC_BSPC, KC_D, KC_T, KC_H, KC_E, KC_O, _______, _______, _______, _______, _______, _______, \ |
| @@ -107,7 +105,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 107 | * | | | | , | DTOP | | | | | | | | | | | 105 | * | | | | , | DTOP | | | | | | | | | | |
| 108 | * `-------------------------------------------------------------------------------------------------' | 106 | * `-------------------------------------------------------------------------------------------------' |
| 109 | */ | 107 | */ |
| 110 | [_OPT] = KEYMAP( \ | 108 | [_OPT] = LAYOUT( \ |
| 111 | KC_ESC, KC_COLN,KC_RBRC, KC_RPRN,KC_GT, KC_RCBR, _______, _______, _______, _______, _______, _______, \ | 109 | KC_ESC, KC_COLN,KC_RBRC, KC_RPRN,KC_GT, KC_RCBR, _______, _______, _______, _______, _______, _______, \ |
| 112 | EISU, KC_J, KC_M, KC_B, KC_QUOT, KC_TAB, _______, _______, _______, _______, _______, _______, \ | 110 | EISU, KC_J, KC_M, KC_B, KC_QUOT, KC_TAB, _______, _______, _______, _______, _______, _______, \ |
| 113 | KC_DOT, KC_V, KC_C, KC_L, KC_Z, KC_Q, _______, _______, _______, _______, _______, _______, \ | 111 | KC_DOT, KC_V, KC_C, KC_L, KC_Z, KC_Q, _______, _______, _______, _______, _______, _______, \ |
| @@ -128,7 +126,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 128 | * |RGBOFF| | | | | | | | | | | | | | | 126 | * |RGBOFF| | | | | | | | | | | | | | |
| 129 | * `-------------------------------------------------------------------------------------------------' | 127 | * `-------------------------------------------------------------------------------------------------' |
| 130 | */ | 128 | */ |
| 131 | [_FUNC] = KEYMAP( \ | 129 | [_FUNC] = LAYOUT( \ |
| 132 | RGBRST,RGB_HUI, _______, RESET, MAC, WIN, _______, _______, _______, _______, _______, _______, \ | 130 | RGBRST,RGB_HUI, _______, RESET, MAC, WIN, _______, _______, _______, _______, _______, _______, \ |
| 133 | RGB1, RGB_VAI, KC_F7, KC_F8, KC_F9, _______, _______, _______, _______, _______, _______, _______, \ | 131 | RGB1, RGB_VAI, KC_F7, KC_F8, KC_F9, _______, _______, _______, _______, _______, _______, _______, \ |
| 134 | RGB2, RGB_VAD, KC_F4, KC_F5, KC_F6, KC_F12, _______, _______, _______, _______, _______, _______, \ | 132 | RGB2, RGB_VAD, KC_F4, KC_F5, KC_F6, KC_F12, _______, _______, _______, _______, _______, _______, \ |
| @@ -149,7 +147,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 149 | * | | | PS | | ~ | | | | | | | | | | | 147 | * | | | PS | | ~ | | | | | | | | | | |
| 150 | * `-------------------------------------------------------------------------------------------------' | 148 | * `-------------------------------------------------------------------------------------------------' |
| 151 | */ | 149 | */ |
| 152 | [_SYM] = KEYMAP( \ | 150 | [_SYM] = LAYOUT( \ |
| 153 | KC_INS, KC_GRV, _______, KC_PGUP, KC_PGDN, KC_CIRC, _______, _______, _______, _______, _______, _______, \ | 151 | KC_INS, KC_GRV, _______, KC_PGUP, KC_PGDN, KC_CIRC, _______, _______, _______, _______, _______, _______, \ |
| 154 | _______, KC_BSLS, KC_HASH, KC_EQL, KC_QUES, KC_PERC, _______, _______, _______, _______, _______, _______, \ | 152 | _______, KC_BSLS, KC_HASH, KC_EQL, KC_QUES, KC_PERC, _______, _______, _______, _______, _______, _______, \ |
| 155 | _______, KC_DLR, KC_UP, KC_AT, KC_EXLM, KC_PIPE, _______, _______, _______, _______, _______, _______, \ | 153 | _______, KC_DLR, KC_UP, KC_AT, KC_EXLM, KC_PIPE, _______, _______, _______, _______, _______, _______, \ |
| @@ -170,7 +168,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 170 | * | | | | , | | | | | | | | | | | | 168 | * | | | | , | | | | | | | | | | | |
| 171 | * `-------------------------------------------------------------------------------------------------' | 169 | * `-------------------------------------------------------------------------------------------------' |
| 172 | */ | 170 | */ |
| 173 | [_NUM] = KEYMAP( \ | 171 | [_NUM] = LAYOUT( \ |
| 174 | _______, _______, OSL(_FUNC), KC_HOME, KC_END, _______, _______, _______, _______, _______, _______, _______, \ | 172 | _______, _______, OSL(_FUNC), KC_HOME, KC_END, _______, _______, _______, _______, _______, _______, _______, \ |
| 175 | _______, KC_ASTR, KC_P7, KC_P8, KC_P9, KC_MINS, _______, _______, _______, _______, _______, _______, \ | 173 | _______, KC_ASTR, KC_P7, KC_P8, KC_P9, KC_MINS, _______, _______, _______, _______, _______, _______, \ |
| 176 | KC_PDOT, KC_SLSH, KC_P4, KC_P5, KC_P6, KC_PLUS, _______, _______, _______, _______, _______, _______, \ | 174 | KC_PDOT, KC_SLSH, KC_P4, KC_P5, KC_P6, KC_PLUS, _______, _______, _______, _______, _______, _______, \ |
diff --git a/keyboards/helix/rev2/keymaps/led_test/keymap.c b/keyboards/helix/rev2/keymaps/led_test/keymap.c index f28db6657..85621dd68 100644 --- a/keyboards/helix/rev2/keymaps/led_test/keymap.c +++ b/keyboards/helix/rev2/keymaps/led_test/keymap.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #include "helix.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "bootloader.h" | 2 | #include "bootloader.h" |
| 3 | #include "action_layer.h" | ||
| 4 | #include "eeconfig.h" | ||
| 5 | #ifdef PROTOCOL_LUFA | 3 | #ifdef PROTOCOL_LUFA |
| 6 | #include "lufa.h" | 4 | #include "lufa.h" |
| 7 | #include "split_util.h" | 5 | #include "split_util.h" |
| @@ -73,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 73 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 71 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 74 | * `-------------------------------------------------------------------------------------------------' | 72 | * `-------------------------------------------------------------------------------------------------' |
| 75 | */ | 73 | */ |
| 76 | [_QWERTY] = KEYMAP( \ | 74 | [_QWERTY] = LAYOUT( \ |
| 77 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 75 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 78 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ | 76 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ |
| 79 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 77 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| @@ -94,7 +92,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 94 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 92 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 95 | * `-------------------------------------------------------------------------------------------------' | 93 | * `-------------------------------------------------------------------------------------------------' |
| 96 | */ | 94 | */ |
| 97 | [_COLEMAK] = KEYMAP( \ | 95 | [_COLEMAK] = LAYOUT( \ |
| 98 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 96 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 99 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ | 97 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ |
| 100 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 98 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| @@ -115,7 +113,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 115 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 113 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 116 | * `-------------------------------------------------------------------------------------------------' | 114 | * `-------------------------------------------------------------------------------------------------' |
| 117 | */ | 115 | */ |
| 118 | [_DVORAK] = KEYMAP( \ | 116 | [_DVORAK] = LAYOUT( \ |
| 119 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 117 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 120 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ | 118 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ |
| 121 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 119 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| @@ -136,7 +134,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 136 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 134 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 137 | * `-------------------------------------------------------------------------------------------------' | 135 | * `-------------------------------------------------------------------------------------------------' |
| 138 | */ | 136 | */ |
| 139 | [_LOWER] = KEYMAP( \ | 137 | [_LOWER] = LAYOUT( \ |
| 140 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ | 138 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ |
| 141 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ | 139 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ |
| 142 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 140 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| @@ -157,7 +155,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 157 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 155 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 158 | * `-------------------------------------------------------------------------------------------------' | 156 | * `-------------------------------------------------------------------------------------------------' |
| 159 | */ | 157 | */ |
| 160 | [_RAISE] = KEYMAP( \ | 158 | [_RAISE] = LAYOUT( \ |
| 161 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 159 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ |
| 162 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 160 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 163 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 161 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| @@ -178,7 +176,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 178 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | | 176 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | |
| 179 | * `-------------------------------------------------------------------------------------------------' | 177 | * `-------------------------------------------------------------------------------------------------' |
| 180 | */ | 178 | */ |
| 181 | [_ADJUST] = KEYMAP( \ | 179 | [_ADJUST] = LAYOUT( \ |
| 182 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ | 180 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ |
| 183 | _______, RESET, RGBRST, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 181 | _______, RESET, RGBRST, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 184 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 182 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| @@ -202,7 +200,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 202 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 200 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 203 | * `-------------------------------------------------------------------------------------------------' | 201 | * `-------------------------------------------------------------------------------------------------' |
| 204 | */ | 202 | */ |
| 205 | [_QWERTY] = KEYMAP( \ | 203 | [_QWERTY] = LAYOUT( \ |
| 206 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ | 204 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ |
| 207 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 205 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ |
| 208 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 206 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -220,7 +218,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 220 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 218 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 221 | * `-------------------------------------------------------------------------------------------------' | 219 | * `-------------------------------------------------------------------------------------------------' |
| 222 | */ | 220 | */ |
| 223 | [_COLEMAK] = KEYMAP( \ | 221 | [_COLEMAK] = LAYOUT( \ |
| 224 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ | 222 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ |
| 225 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 223 | KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ |
| 226 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 224 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ |
| @@ -238,7 +236,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 238 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | | 236 | * |Adjust| Esc | Alt | GUI | EISU |Lower |Space |Space |Raise | KANA | Left | Down | Up |Right | |
| 239 | * `-------------------------------------------------------------------------------------------------' | 237 | * `-------------------------------------------------------------------------------------------------' |
| 240 | */ | 238 | */ |
| 241 | [_DVORAK] = KEYMAP( \ | 239 | [_DVORAK] = LAYOUT( \ |
| 242 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ | 240 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_DEL, \ |
| 243 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 241 | KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ |
| 244 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ | 242 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ |
| @@ -256,7 +254,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 256 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 254 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 257 | * `-------------------------------------------------------------------------------------------------' | 255 | * `-------------------------------------------------------------------------------------------------' |
| 258 | */ | 256 | */ |
| 259 | [_LOWER] = KEYMAP( \ | 257 | [_LOWER] = LAYOUT( \ |
| 260 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ | 258 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ |
| 261 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 259 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ |
| 262 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______, \ | 260 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______, \ |
| @@ -274,7 +272,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 274 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | | 272 | * | | | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 275 | * `-------------------------------------------------------------------------------------------------' | 273 | * `-------------------------------------------------------------------------------------------------' |
| 276 | */ | 274 | */ |
| 277 | [_RAISE] = KEYMAP( \ | 275 | [_RAISE] = LAYOUT( \ |
| 278 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 276 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ |
| 279 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 277 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ |
| 280 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PGDN, KC_PGUP, _______, \ | 278 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PGDN, KC_PGUP, _______, \ |
| @@ -292,7 +290,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 292 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | | 290 | * | | | | | | | | | | | MODE | HUE- | SAT- | VAL- | |
| 293 | * `-------------------------------------------------------------------------------------------------' | 291 | * `-------------------------------------------------------------------------------------------------' |
| 294 | */ | 292 | */ |
| 295 | [_ADJUST] = KEYMAP( \ | 293 | [_ADJUST] = LAYOUT( \ |
| 296 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ | 294 | _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, \ |
| 297 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ | 295 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \ |
| 298 | _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, \ | 296 | _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, \ |
diff --git a/keyboards/helix/rev2/rev2.h b/keyboards/helix/rev2/rev2.h index 7cab57ea0..1da6f668f 100644 --- a/keyboards/helix/rev2/rev2.h +++ b/keyboards/helix/rev2/rev2.h | |||
| @@ -26,11 +26,11 @@ | |||
| 26 | #ifndef FLIP_HALF | 26 | #ifndef FLIP_HALF |
| 27 | // Standard Keymap | 27 | // Standard Keymap |
| 28 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 28 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
| 29 | #define KEYMAP( \ | 29 | #define LAYOUT( \ |
| 30 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 30 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 31 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 31 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 32 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 32 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 33 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35 \ | 33 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35 \ |
| 34 | ) \ | 34 | ) \ |
| 35 | { \ | 35 | { \ |
| 36 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ | 36 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ |
| @@ -45,11 +45,11 @@ | |||
| 45 | #else | 45 | #else |
| 46 | // Keymap with right side flipped | 46 | // Keymap with right side flipped |
| 47 | // (TRRS jack on both halves are to the right) | 47 | // (TRRS jack on both halves are to the right) |
| 48 | #define KEYMAP( \ | 48 | #define LAYOUT( \ |
| 49 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 49 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 50 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 50 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 51 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 51 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 52 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35 \ | 52 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35 \ |
| 53 | ) \ | 53 | ) \ |
| 54 | { \ | 54 | { \ |
| 55 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ | 55 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ |
| @@ -66,12 +66,12 @@ | |||
| 66 | #ifndef FLIP_HALF | 66 | #ifndef FLIP_HALF |
| 67 | // Standard Keymap | 67 | // Standard Keymap |
| 68 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) | 68 | // (TRRS jack on the left half is to the right, TRRS jack on the right half is to the left) |
| 69 | #define KEYMAP( \ | 69 | #define LAYOUT( \ |
| 70 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 70 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 71 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 71 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 72 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 72 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 73 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35, \ | 73 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35, \ |
| 74 | L40, L41, L42, L43, L44, L45, L46, R46, R40, R41, R42, R43, R44, R45 \ | 74 | L40, L41, L42, L43, L44, L45, L46, R46, R40, R41, R42, R43, R44, R45 \ |
| 75 | ) \ | 75 | ) \ |
| 76 | { \ | 76 | { \ |
| 77 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ | 77 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ |
| @@ -88,12 +88,12 @@ | |||
| 88 | #else | 88 | #else |
| 89 | // Keymap with right side flipped | 89 | // Keymap with right side flipped |
| 90 | // (TRRS jack on both halves are to the right) | 90 | // (TRRS jack on both halves are to the right) |
| 91 | #define KEYMAP( \ | 91 | #define LAYOUT( \ |
| 92 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | 92 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ |
| 93 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | 93 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ |
| 94 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | 94 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ |
| 95 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35, \ | 95 | L30, L31, L32, L33, L34, L35, L36, R36, R30, R31, R32, R33, R34, R35, \ |
| 96 | L40, L41, L42, L43, L44, L45, L46, R46, R40, R41, R42, R43, R44, R45 \ | 96 | L40, L41, L42, L43, L44, L45, L46, R46, R40, R41, R42, R43, R44, R45 \ |
| 97 | ) \ | 97 | ) \ |
| 98 | { \ | 98 | { \ |
| 99 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ | 99 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ |
