diff options
Diffstat (limited to 'keyboards/handwired')
11 files changed, 41 insertions, 63 deletions
diff --git a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/config.h b/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/config.h index 682c7a868..6b0ddbfe8 100644 --- a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/config.h +++ b/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/config.h | |||
| @@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | #pragma once | 21 | #pragma once |
| 22 | 22 | ||
| 23 | #include "../../config.h" | ||
| 24 | |||
| 25 | /* Use I2C or Serial, not both */ | 23 | /* Use I2C or Serial, not both */ |
| 26 | 24 | ||
| 27 | #define USE_SERIAL | 25 | #define USE_SERIAL |
diff --git a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c b/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c index 24c02215e..2e5cfd7ce 100644 --- a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c +++ b/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c | |||
| @@ -1,6 +1,4 @@ | |||
| 1 | #include "dactyl_manuform.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 | ||
| @@ -126,4 +124,3 @@ void persistent_default_layer_set(uint16_t default_layer) { | |||
| 126 | eeconfig_update_default_layer(default_layer); | 124 | eeconfig_update_default_layer(default_layer); |
| 127 | default_layer_set(default_layer); | 125 | default_layer_set(default_layer); |
| 128 | } | 126 | } |
| 129 | |||
diff --git a/keyboards/handwired/frenchdev/keymaps/default/keymap.c b/keyboards/handwired/frenchdev/keymaps/default/keymap.c index 3d0f1fbfb..506383a1b 100644 --- a/keyboards/handwired/frenchdev/keymaps/default/keymap.c +++ b/keyboards/handwired/frenchdev/keymaps/default/keymap.c | |||
| @@ -394,5 +394,3 @@ void led_set_user(uint8_t usb_led) { | |||
| 394 | } | 394 | } |
| 395 | return ; | 395 | return ; |
| 396 | } | 396 | } |
| 397 | |||
| 398 | |||
diff --git a/keyboards/handwired/hexon38/keymaps/default/keymap.c b/keyboards/handwired/hexon38/keymaps/default/keymap.c index c3805991f..65dfb4ca0 100644 --- a/keyboards/handwired/hexon38/keymaps/default/keymap.c +++ b/keyboards/handwired/hexon38/keymaps/default/keymap.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | // see https://github.com/pepaslabs/hexon38 | 1 | // see https://github.com/pepaslabs/hexon38 |
| 2 | 2 | ||
| 3 | #include "hexon38.h" | 3 | #include QMK_KEYBOARD_H |
| 4 | 4 | ||
| 5 | #define A_ KC_A | 5 | #define A_ KC_A |
| 6 | #define B_ KC_B | 6 | #define B_ KC_B |
diff --git a/keyboards/handwired/maartenwut/keymaps/default/keymap.c b/keyboards/handwired/maartenwut/keymaps/default/keymap.c index d318b0423..54276d4b2 100755 --- a/keyboards/handwired/maartenwut/keymaps/default/keymap.c +++ b/keyboards/handwired/maartenwut/keymaps/default/keymap.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include "maartenwut.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | #define _MA 0 | 3 | #define _MA 0 |
| 4 | #define _NU 1 | 4 | #define _NU 1 |
diff --git a/keyboards/handwired/magicforce61/keymaps/default/keymap.c b/keyboards/handwired/magicforce61/keymaps/default/keymap.c index 9559be5d2..9183ba72a 100644 --- a/keyboards/handwired/magicforce61/keymaps/default/keymap.c +++ b/keyboards/handwired/magicforce61/keymaps/default/keymap.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include "magicforce61.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | #define _QWERTY 0 | 3 | #define _QWERTY 0 |
| 4 | #define _FN1 1 | 4 | #define _FN1 1 |
diff --git a/keyboards/handwired/minorca/keymaps/default/config.h b/keyboards/handwired/minorca/keymaps/default/config.h index bf40376c1..c19ad7372 100644 --- a/keyboards/handwired/minorca/keymaps/default/config.h +++ b/keyboards/handwired/minorca/keymaps/default/config.h | |||
| @@ -1,12 +1,10 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | 2 | |
| 3 | // place overrides here | ||
| 3 | 4 | ||
| 4 | #include "../../config.h" | ||
| 5 | 5 | ||
| 6 | /* bootmagic salt key */ | 6 | /* bootmagic salt key */ |
| 7 | #define BOOTMAGIC_KEY_SALT KC_ESC | 7 | #define BOOTMAGIC_KEY_SALT KC_ESC |
| 8 | 8 | ||
| 9 | /* skip bootmagic and eeconfig */ | 9 | /* skip bootmagic and eeconfig */ |
| 10 | #define BOOTMAGIC_KEY_SKIP KC_SPACE | 10 | #define BOOTMAGIC_KEY_SKIP KC_SPACE |
| 11 | |||
| 12 | #endif | ||
diff --git a/keyboards/handwired/terminus_mini/keymaps/default/config.h b/keyboards/handwired/terminus_mini/keymaps/default/config.h index 34ef67207..4817be252 100644 --- a/keyboards/handwired/terminus_mini/keymaps/default/config.h +++ b/keyboards/handwired/terminus_mini/keymaps/default/config.h | |||
| @@ -14,13 +14,8 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #define TAPPING_TERM 150 //reduce time required to register a held key | 17 | #pragma once |
| 18 | |||
| 19 | #ifndef CONFIG_USER_H | ||
| 20 | #define CONFIG_USER_H | ||
| 21 | |||
| 22 | #include "../../config.h" | ||
| 23 | 18 | ||
| 24 | // place overrides here | 19 | // place overrides here |
| 25 | 20 | ||
| 26 | #endif | 21 | #define TAPPING_TERM 150 //reduce time required to register a held key |
diff --git a/keyboards/handwired/traveller/keymaps/default/keymap.c b/keyboards/handwired/traveller/keymaps/default/keymap.c index 1b1038fd7..44f65f4b8 100644 --- a/keyboards/handwired/traveller/keymaps/default/keymap.c +++ b/keyboards/handwired/traveller/keymaps/default/keymap.c | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #include "traveller.h" | 1 | #include QMK_KEYBOARD_H |
| 2 | #include "mousekey.h" | 2 | #include "mousekey.h" |
| 3 | #include "action_layer.h" | ||
| 4 | 3 | ||
| 5 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | 4 | // Each layer gets a name for readability, which is then used in the keymap matrix below. |
| 6 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | 5 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. |
| @@ -9,7 +8,7 @@ | |||
| 9 | #define _HI 2 | 8 | #define _HI 2 |
| 10 | #define _NAV 4 | 9 | #define _NAV 4 |
| 11 | #define _CUR 5 | 10 | #define _CUR 5 |
| 12 | #define _FKEYS 6 | 11 | #define _FKEYS 6 |
| 13 | #define _TRNS 8 | 12 | #define _TRNS 8 |
| 14 | 13 | ||
| 15 | // We do the same trick for functions | 14 | // We do the same trick for functions |
| @@ -20,7 +19,7 @@ | |||
| 20 | #define MDL 4 | 19 | #define MDL 4 |
| 21 | #define MDR 5 | 20 | #define MDR 5 |
| 22 | #define MUR 6 | 21 | #define MUR 6 |
| 23 | #define MUL 3 | 22 | #define MUL 3 |
| 24 | 23 | ||
| 25 | 24 | ||
| 26 | 25 | ||
| @@ -35,9 +34,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 35 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| | 34 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| |
| 36 | * | Shift| Z | Del | GUI | Low | Bspc |/Enter| Spc | Hi | GUI | Alt | / |Shift | | 35 | * | Shift| Z | Del | GUI | Low | Bspc |/Enter| Spc | Hi | GUI | Alt | / |Shift | |
| 37 | * `------------------------------------------------------------------------------------------' | 36 | * `------------------------------------------------------------------------------------------' |
| 38 | * | 37 | * |
| 39 | */ | 38 | */ |
| 40 | [_QW] = KEYMAP( | 39 | [_QW] = KEYMAP( |
| 41 | TG(_NAV), KC_GRV, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_MINS, KC_EQL, | 40 | TG(_NAV), KC_GRV, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_MINS, KC_EQL, |
| 42 | KC_TAB, KC_Q, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_P, KC_BSLS, | 41 | KC_TAB, KC_Q, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_P, KC_BSLS, |
| 43 | CTL_T(KC_ESC), KC_A, KC_X, KC_C, KC_V, KC_B, KC_RCTL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SCLN, KC_QUOT, | 42 | CTL_T(KC_ESC), KC_A, KC_X, KC_C, KC_V, KC_B, KC_RCTL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SCLN, KC_QUOT, |
| @@ -45,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | ), | 44 | ), |
| 46 | 45 | ||
| 47 | /* LOW - numbers, missing or awkward programming keys | 46 | /* LOW - numbers, missing or awkward programming keys |
| 48 | Doubled 1 key allows lazy reach with ring finger. | 47 | Doubled 1 key allows lazy reach with ring finger. |
| 49 | * ,-----------------------------------------. .-----------------------------------------. | 48 | * ,-----------------------------------------. .-----------------------------------------. |
| 50 | * | FKeys| 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |Ctrl-alt-del| | 49 | * | FKeys| 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |Ctrl-alt-del| |
| 51 | * |------+------+------+------+------+------| +------+------+------+------+------+------| | 50 | * |------+------+------+------+------+------| +------+------+------+------+------+------| |
| @@ -55,18 +54,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 55 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| | 54 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| |
| 56 | * | Shift| | | | Low | |/ | | Hi | | | |Shift | | 55 | * | Shift| | | | Low | |/ | | Hi | | | |Shift | |
| 57 | * `------------------------------------------------------------------------------------------' | 56 | * `------------------------------------------------------------------------------------------' |
| 58 | * | 57 | * |
| 59 | */ | 58 | */ |
| 60 | 59 | ||
| 61 | [_LW] = KEYMAP( | 60 | [_LW] = KEYMAP( |
| 62 | TG(_FKEYS), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, LCTL(LALT(KC_DEL)) , | 61 | TG(_FKEYS), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, LCTL(LALT(KC_DEL)) , |
| 63 | KC_TRNS, KC_1, KC_RBRC, KC_LPRN, KC_RPRN, KC_NO, KC_ASTR, KC_LPRN, KC_RPRN, KC_LBRC, KC_NO, KC_NO, | 62 | KC_TRNS, KC_1, KC_RBRC, KC_LPRN, KC_RPRN, KC_NO, KC_ASTR, KC_LPRN, KC_RPRN, KC_LBRC, KC_NO, KC_NO, |
| 64 | KC_CAPS, KC_LBRC, KC_NO, KC_LCBR, KC_RCBR, KC_TILD, KC_TRNS, KC_HASH, KC_LCBR, KC_RCBR, KC_NO, KC_RBRC, KC_NO, | 63 | KC_CAPS, KC_LBRC, KC_NO, KC_LCBR, KC_RCBR, KC_TILD, KC_TRNS, KC_HASH, KC_LCBR, KC_RCBR, KC_NO, KC_RBRC, KC_NO, |
| 65 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | 64 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS |
| 66 | ), | 65 | ), |
| 67 | 66 | ||
| 68 | /* HI - Punctuation, shell and | 67 | /* HI - Punctuation, shell and |
| 69 | url ://@.com row on bottom, && is opposite || ^$ are in regex order: ^.*$ | 68 | url ://@.com row on bottom, && is opposite || ^$ are in regex order: ^.*$ |
| 70 | Right hand nav keys work pretty well chorded with the Right hand Hi Key | 69 | Right hand nav keys work pretty well chorded with the Right hand Hi Key |
| 71 | * ,-----------------------------------------. .-----------------------------------------. | 70 | * ,-----------------------------------------. .-----------------------------------------. |
| 72 | * |FKEYS | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + | | 71 | * |FKEYS | ! | @ | # | $ | % | | ^ | & | * | ( | ) | + | |
| @@ -77,19 +76,19 @@ Right hand nav keys work pretty well chorded with the Right hand Hi Key | |||
| 77 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| | 76 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| |
| 78 | * | | / | | | Low | |/ | | Hi | PgDn | Left| Down | Right | | 77 | * | | / | | | Low | |/ | | Hi | PgDn | Left| Down | Right | |
| 79 | * `------------------------------------------------------------------------------------------' | 78 | * `------------------------------------------------------------------------------------------' |
| 80 | * | 79 | * |
| 81 | */ | 80 | */ |
| 82 | 81 | ||
| 83 | [_HI] = KEYMAP( | 82 | [_HI] = KEYMAP( |
| 84 | TG(_FKEYS),KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PLUS, | 83 | TG(_FKEYS),KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PLUS, |
| 85 | KC_TRNS, KC_EXLM, KC_AMPR, KC_PIPE, KC_DLR, KC_PERC, KC_VOLU, KC_MUTE, KC_NO, KC_NO, KC_NO, KC_NO, | 84 | KC_TRNS, KC_EXLM, KC_AMPR, KC_PIPE, KC_DLR, KC_PERC, KC_VOLU, KC_MUTE, KC_NO, KC_NO, KC_NO, KC_NO, |
| 86 | KC_CAPS, KC_CIRC, KC_COLN, KC_DOT, KC_ASTR, KC_MINS, KC_TRNS, KC_VOLD, KC_PPLS, KC_PGUP, KC_HOME, KC_UP, KC_END, | 85 | KC_CAPS, KC_CIRC, KC_COLN, KC_DOT, KC_ASTR, KC_MINS, KC_TRNS, KC_VOLD, KC_PPLS, KC_PGUP, KC_HOME, KC_UP, KC_END, |
| 87 | KC_TRNS, KC_SLSH, KC_TRNS, KC_TRNS, TT(_LW), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RIGHT | 86 | KC_TRNS, KC_SLSH, KC_TRNS, KC_TRNS, TT(_LW), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RIGHT |
| 88 | ), | 87 | ), |
| 89 | 88 | ||
| 90 | /* NAV - mouse & navigation | 89 | /* NAV - mouse & navigation |
| 91 | //gui left and right are line home/end, or fore & back in browser | 90 | //gui left and right are line home/end, or fore & back in browser |
| 92 | // Mouse buttons are reversed for comfort - bigger stretch is to the right button. | 91 | // Mouse buttons are reversed for comfort - bigger stretch is to the right button. |
| 93 | 92 | ||
| 94 | * ,-----------------------------------------. .-----------------------------------------. | 93 | * ,-----------------------------------------. .-----------------------------------------. |
| 95 | * | NAV | | | Up | |Gui-> | | MwU | MS_UL| MS_U |MS_UR | |Ms Norm| | 94 | * | NAV | | | Up | |Gui-> | | MwU | MS_UL| MS_U |MS_UR | |Ms Norm| |
| @@ -102,7 +101,7 @@ Right hand nav keys work pretty well chorded with the Right hand Hi Key | |||
| 102 | * `------------------------------------------------------------------------------------------' | 101 | * `------------------------------------------------------------------------------------------' |
| 103 | */ | 102 | */ |
| 104 | 103 | ||
| 105 | [_NAV] = KEYMAP( | 104 | [_NAV] = KEYMAP( |
| 106 | TG(_NAV), KC_NO, KC_NO, KC_UP, KC_NO, RGUI(KC_RIGHT), KC_WH_U, M(MUL), KC_MS_U, M(MUR), KC_NO, KC_ACL2, | 105 | TG(_NAV), KC_NO, KC_NO, KC_UP, KC_NO, RGUI(KC_RIGHT), KC_WH_U, M(MUL), KC_MS_U, M(MUR), KC_NO, KC_ACL2, |
| 107 | KC_TRNS, RGUI(KC_LEFT), KC_LEFT, KC_DOWN, KC_RIGHT, LCTL(KC_E), KC_BTN3, KC_MS_L, KC_MS_U, KC_MS_R, KC_NO, KC_ACL1, | 106 | KC_TRNS, RGUI(KC_LEFT), KC_LEFT, KC_DOWN, KC_RIGHT, LCTL(KC_E), KC_BTN3, KC_MS_L, KC_MS_U, KC_MS_R, KC_NO, KC_ACL1, |
| 108 | KC_TRNS, LCTL(KC_A), LGUI(KC_X),RGUI(KC_C), RGUI(KC_V),KC_NO, KC_ENTER, KC_WH_D, M(MDL), KC_MS_D, M(MDR), KC_UP, KC_ACL0, | 107 | KC_TRNS, LCTL(KC_A), LGUI(KC_X),RGUI(KC_C), RGUI(KC_V),KC_NO, KC_ENTER, KC_WH_D, M(MDL), KC_MS_D, M(MDR), KC_UP, KC_ACL0, |
| @@ -111,7 +110,7 @@ Right hand nav keys work pretty well chorded with the Right hand Hi Key | |||
| 111 | 110 | ||
| 112 | /* FKEYS - Funtion keys & mac stuff | 111 | /* FKEYS - Funtion keys & mac stuff |
| 113 | * ,-----------------------------------------. .-----------------------------------------. | 112 | * ,-----------------------------------------. .-----------------------------------------. |
| 114 | * | FKEYS| F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | Ctrl | | 113 | * | FKEYS| F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | Ctrl | |
| 115 | * |------+------+------+------+------+------| |------+------+------+------+------+------| | 114 | * |------+------+------+------+------+------| |------+------+------+------+------+------| |
| 116 | * | | | | | | | | F11 | F12 | F13 | F14 | F15 | Alt | | 115 | * | | | | | | | | F11 | F12 | F13 | F14 | F15 | Alt | |
| 117 | * |------+------+------+------+------+------|------+------+------+------+------+------+------| | 116 | * |------+------+------+------+------+------|------+------+------+------+------+------+------| |
| @@ -120,9 +119,9 @@ Right hand nav keys work pretty well chorded with the Right hand Hi Key | |||
| 120 | * | . |RGBTog| . | | LO | Bspc |/ | | HI | | | | | | 119 | * | . |RGBTog| . | | LO | Bspc |/ | | HI | | | | | |
| 121 | * `------------------------------------------------------------------------------------------' | 120 | * `------------------------------------------------------------------------------------------' |
| 122 | * | 121 | * |
| 123 | */ | 122 | */ |
| 124 | 123 | ||
| 125 | [_FKEYS] = KEYMAP( | 124 | [_FKEYS] = KEYMAP( |
| 126 | TG(_FKEYS),KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_RCTL, | 125 | TG(_FKEYS),KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_RCTL, |
| 127 | KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_LALT , | 126 | KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_LALT , |
| 128 | TO(_QW), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DEL, | 127 | TO(_QW), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DEL, |
| @@ -140,7 +139,7 @@ Right hand nav keys work pretty well chorded with the Right hand Hi Key | |||
| 140 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| | 139 | * |------+------+------+------+------+------+ // +------+------+------+------+------+------| |
| 141 | * | . | . | . | GUI | LO | . |/ | Spc | HI | GUI | M0 | / |LSFT | | 140 | * | . | . | . | GUI | LO | . |/ | Spc | HI | GUI | M0 | / |LSFT | |
| 142 | * `------------------------------------------------------------------------------------------' | 141 | * `------------------------------------------------------------------------------------------' |
| 143 | * | 142 | * |
| 144 | */ | 143 | */ |
| 145 | 144 | ||
| 146 | [_TRNS] = { | 145 | [_TRNS] = { |
| @@ -226,12 +225,12 @@ void LayerLEDSet(uint8_t layr) { | |||
| 226 | break; | 225 | break; |
| 227 | case _LW: | 226 | case _LW: |
| 228 | // deep purple | 227 | // deep purple |
| 229 | rgblight_setrgb(20,0,35); | 228 | rgblight_setrgb(20,0,35); |
| 230 | break; | 229 | break; |
| 231 | case _HI: | 230 | case _HI: |
| 232 | // light blue | 231 | // light blue |
| 233 | rgblight_setrgb(0,20,20); | 232 | rgblight_setrgb(0,20,20); |
| 234 | break; | 233 | break; |
| 235 | case _NAV: | 234 | case _NAV: |
| 236 | // Yellowy orange | 235 | // Yellowy orange |
| 237 | rgblight_setrgb(25,20,0); // brighter | 236 | rgblight_setrgb(25,20,0); // brighter |
| @@ -239,14 +238,14 @@ void LayerLEDSet(uint8_t layr) { | |||
| 239 | case _FKEYS: | 238 | case _FKEYS: |
| 240 | // RED | 239 | // RED |
| 241 | rgblight_setrgb(20,0,0); // brighter | 240 | rgblight_setrgb(20,0,0); // brighter |
| 242 | break; | 241 | break; |
| 243 | default: | 242 | default: |
| 244 | rgblight_setrgb(20,2,20);//error | 243 | rgblight_setrgb(20,2,20);//error |
| 245 | break; | 244 | break; |
| 246 | } | 245 | } |
| 247 | 246 | ||
| 248 | return; | 247 | return; |
| 249 | 248 | ||
| 250 | } | 249 | } |
| 251 | 250 | ||
| 252 | void matrix_init_user(void) { | 251 | void matrix_init_user(void) { |
| @@ -271,5 +270,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 271 | void led_set_user(uint8_t usb_led) { | 270 | void led_set_user(uint8_t usb_led) { |
| 272 | 271 | ||
| 273 | } | 272 | } |
| 274 | |||
| 275 | |||
diff --git a/keyboards/handwired/woodpad/keymaps/default/config.h b/keyboards/handwired/woodpad/keymaps/default/config.h index f52a97bbc..a72596783 100644 --- a/keyboards/handwired/woodpad/keymaps/default/config.h +++ b/keyboards/handwired/woodpad/keymaps/default/config.h | |||
| @@ -14,11 +14,6 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #ifndef CONFIG_USER_H | 17 | #pragma once |
| 18 | #define CONFIG_USER_H | ||
| 19 | |||
| 20 | #include "../../config.h" | ||
| 21 | 18 | ||
| 22 | // place overrides here | 19 | // place overrides here |
| 23 | |||
| 24 | #endif | ||
diff --git a/keyboards/handwired/woodpad/keymaps/default/keymap.c b/keyboards/handwired/woodpad/keymaps/default/keymap.c index 724230e45..838c14ead 100644 --- a/keyboards/handwired/woodpad/keymaps/default/keymap.c +++ b/keyboards/handwired/woodpad/keymaps/default/keymap.c | |||
| @@ -13,7 +13,7 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "woodpad.h" | 16 | #include QMK_KEYBOARD_H |
| 17 | 17 | ||
| 18 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | 18 | // Each layer gets a name for readability, which is then used in the keymap matrix below. |
| 19 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | 19 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. |
| @@ -86,7 +86,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 86 | layer_off(_ADJUST); | 86 | layer_off(_ADJUST); |
| 87 | } | 87 | } |
| 88 | numlock_down = false; | 88 | numlock_down = false; |
| 89 | } | 89 | } |
| 90 | return false; | 90 | return false; |
| 91 | break; | 91 | break; |
| 92 | case KC_LALT: | 92 | case KC_LALT: |
