diff options
Diffstat (limited to 'layouts/community/ortho_4x12/wanleg')
| -rw-r--r-- | layouts/community/ortho_4x12/wanleg/config.h | 13 | ||||
| -rw-r--r-- | layouts/community/ortho_4x12/wanleg/keymap.c | 17 | ||||
| -rw-r--r-- | layouts/community/ortho_4x12/wanleg/rules.mk | 16 |
3 files changed, 32 insertions, 14 deletions
diff --git a/layouts/community/ortho_4x12/wanleg/config.h b/layouts/community/ortho_4x12/wanleg/config.h index 2b2072db2..f7650ddd3 100644 --- a/layouts/community/ortho_4x12/wanleg/config.h +++ b/layouts/community/ortho_4x12/wanleg/config.h | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #if defined(KEYBOARD_jj40) | ||
| 4 | #undef BACKLIGHT_BREATHING | ||
| 5 | #undef BACKLIGHT_LEVELS | ||
| 6 | #undef BREATHING_PERIOD | ||
| 7 | #define BACKLIGHT_BREATHING | ||
| 8 | #define BACKLIGHT_LEVELS 3 | ||
| 9 | #define BREATHING_PERIOD 15 | ||
| 10 | #endif | ||
| 11 | |||
| 3 | //QMK DFU settings (ProMicro boards with QMK bootloader) | 12 | //QMK DFU settings (ProMicro boards with QMK bootloader) |
| 4 | // set top left key as bootloader mode escape key on Lets Split rev2 | 13 | // set top left key as bootloader mode escape key on Lets Split rev2 |
| 5 | #if defined(KEYBOARD_lets_split_rev2) | 14 | #if defined(KEYBOARD_lets_split_rev2) |
| @@ -12,7 +21,7 @@ | |||
| 12 | #endif | 21 | #endif |
| 13 | 22 | ||
| 14 | // set top left key as bootloader mode escape key on 4x4 48key layout | 23 | // set top left key as bootloader mode escape key on 4x4 48key layout |
| 15 | #if defined(KEYBOARD_4x4) && !defined(PRO_MICRO) | 24 | #if defined(KEYBOARD_40percentclub_4x4) && !defined(PRO_MICRO) |
| 16 | #define QMK_LED B0 | 25 | #define QMK_LED B0 |
| 17 | #define QMK_ESC_OUTPUT C6 // usually COL | 26 | #define QMK_ESC_OUTPUT C6 // usually COL |
| 18 | #define QMK_ESC_INPUT B2 // usually ROW | 27 | #define QMK_ESC_INPUT B2 // usually ROW |
| @@ -20,7 +29,7 @@ | |||
| 20 | 29 | ||
| 21 | // use alternate settings for 4x4 board using ProMicro instead of Micro | 30 | // use alternate settings for 4x4 board using ProMicro instead of Micro |
| 22 | // usage: make 4x4:wanleg PM=yes | 31 | // usage: make 4x4:wanleg PM=yes |
| 23 | #if defined(KEYBOARD_4x4) && defined(PRO_MICRO) | 32 | #if defined(KEYBOARD_40percentclub_4x4) && defined(PRO_MICRO) |
| 24 | #define QMK_ESC_OUTPUT F4 // usually COL | 33 | #define QMK_ESC_OUTPUT F4 // usually COL |
| 25 | #define QMK_ESC_INPUT D1 // usually ROW | 34 | #define QMK_ESC_INPUT D1 // usually ROW |
| 26 | #define QMK_LED B0 | 35 | #define QMK_LED B0 |
diff --git a/layouts/community/ortho_4x12/wanleg/keymap.c b/layouts/community/ortho_4x12/wanleg/keymap.c index 6fe8446f6..23e794dc4 100644 --- a/layouts/community/ortho_4x12/wanleg/keymap.c +++ b/layouts/community/ortho_4x12/wanleg/keymap.c | |||
| @@ -15,8 +15,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 15 | _______________Qwerty_Row__2_______________, | 15 | _______________Qwerty_Row__2_______________, |
| 16 | KC_LCTL, KC_LGUI, KC_LALT, GHERKIN, SUBTER, SH_T(KC_SPC), SH_T(KC_SPC), SUPRA, KC_RGUI, KC_RALT, GHERKIN, KC_RCTL | 16 | KC_LCTL, KC_LGUI, KC_LALT, GHERKIN, SUBTER, SH_T(KC_SPC), SH_T(KC_SPC), SUPRA, KC_RGUI, KC_RALT, GHERKIN, KC_RCTL |
| 17 | ), | 17 | ), |
| 18 | 18 | [DIR] = LAYOUT_ortho_4x12_wrapper( | |
| 19 | #elif defined(KEYBOARD_4x4) | 19 | _____________DIRECTIONS_Row__0_____________, |
| 20 | _____________DIRECTIONS_Row__1_____________, | ||
| 21 | _____________DIRECTIONS_Row__2_____________, | ||
| 22 | _______, _______, ONEHAND, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 23 | ), | ||
| 24 | #elif defined(KEYBOARD_40percentclub_4x4) | ||
| 20 | [_GK] = LAYOUT_ortho_4x12_wrapper( | 25 | [_GK] = LAYOUT_ortho_4x12_wrapper( |
| 21 | _______________GherkinLike_0_______________, | 26 | _______________GherkinLike_0_______________, |
| 22 | _______________GherkinLike_1_______________, | 27 | _______________GherkinLike_1_______________, |
| @@ -31,6 +36,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 31 | _______________NUMPAD_Row__3_______________ | 36 | _______________NUMPAD_Row__3_______________ |
| 32 | ), | 37 | ), |
| 33 | 38 | ||
| 39 | #elif defined(KEYBOARD_jj40) | ||
| 40 | [_GK] = LAYOUT_ortho_4x12_wrapper( | ||
| 41 | _______________GherkinLike_0_______________, | ||
| 42 | _______________GherkinLike_1_______________, | ||
| 43 | _______________GherkinLike_2_______________, | ||
| 44 | TD(RST_TAP_DANCE), BL_TOGG, BL_STEP, BL_BRTG, NUMBER, ETCETERA, KC_SPC,DIRECTION, KC_RGUI, KC_RALT, KC_DEL, KC_RCTL | ||
| 45 | ), | ||
| 46 | |||
| 34 | #else | 47 | #else |
| 35 | [_GK] = LAYOUT_ortho_4x12_wrapper( | 48 | [_GK] = LAYOUT_ortho_4x12_wrapper( |
| 36 | _______________GherkinLike_0_______________, | 49 | _______________GherkinLike_0_______________, |
diff --git a/layouts/community/ortho_4x12/wanleg/rules.mk b/layouts/community/ortho_4x12/wanleg/rules.mk index 835022f4b..e8277610b 100644 --- a/layouts/community/ortho_4x12/wanleg/rules.mk +++ b/layouts/community/ortho_4x12/wanleg/rules.mk | |||
| @@ -1,14 +1,10 @@ | |||
| 1 | AUDIO_ENABLE = no | 1 | AUDIO_ENABLE = no |
| 2 | SWAP_HANDS_ENABLE = yes | 2 | SWAP_HANDS_ENABLE = no |
| 3 | 3 | ||
| 4 | ifeq ($(strip $(KEYBOARD)), jj40) | 4 | ifeq ($(strip $(KEYBOARD)), lets_split/rev2) |
| 5 | SWAP_HANDS_ENABLE = no | 5 | SWAP_HANDS_ENABLE = yes |
| 6 | endif | 6 | endif |
| 7 | 7 | ||
| 8 | ifeq ($(strip $(KEYBOARD)), 40percentclub/4x4) | 8 | ifeq ($(strip $(KEYBOARD)), planck/rev6) |
| 9 | SWAP_HANDS_ENABLE = no | 9 | AUDIO_ENABLE = yes |
| 10 | endif | 10 | endif \ No newline at end of file |
| 11 | |||
| 12 | ifeq ($(strip $(KEYBOARD)), zlant) | ||
| 13 | SWAP_HANDS_ENABLE = no | ||
| 14 | endif | ||
