diff options
| author | Juno Nguyen <juno.ngx@gmail.com> | 2020-10-02 05:13:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-01 22:13:13 +0100 |
| commit | 2f01c6ee188986cc21a6485c65f1a404761a704f (patch) | |
| tree | 4efa66ae71922e52c09ad46b850115c4522f4615 /layouts | |
| parent | 10f5767010dbfc37e94ab3f5ab3549284073a570 (diff) | |
| download | qmk_firmware-2f01c6ee188986cc21a6485c65f1a404761a704f.tar.gz qmk_firmware-2f01c6ee188986cc21a6485c65f1a404761a704f.zip | |
Update make rules for community/ortho_4x12/junonum (#10467)
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/community/ortho_4x12/junonum/keymap.c | 7 | ||||
| -rw-r--r-- | layouts/community/ortho_4x12/junonum/rules.mk | 10 |
2 files changed, 10 insertions, 7 deletions
diff --git a/layouts/community/ortho_4x12/junonum/keymap.c b/layouts/community/ortho_4x12/junonum/keymap.c index 619de0d78..e5eab8848 100644 --- a/layouts/community/ortho_4x12/junonum/keymap.c +++ b/layouts/community/ortho_4x12/junonum/keymap.c | |||
| @@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 40 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | 40 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
| 41 | CTRLTAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | 41 | CTRLTAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, |
| 42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SHIFTEN, | 42 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SHIFTEN, |
| 43 | _______, KC_LCTL, KC_LGUI, KC_LALT, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT | 43 | _______, KC_LCTL, KC_LGUI, KC_LALT, LOWER, SPACEFN, SPACEFN, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT |
| 44 | ), | 44 | ), |
| 45 | 45 | ||
| 46 | [_COLEMAK] = LAYOUT_ortho_4x12( | 46 | [_COLEMAK] = LAYOUT_ortho_4x12( |
| @@ -65,7 +65,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 65 | ), | 65 | ), |
| 66 | 66 | ||
| 67 | [_RAISE] = LAYOUT_ortho_4x12( | 67 | [_RAISE] = LAYOUT_ortho_4x12( |
| 68 | KC_GRV, _______, _______, KC_LBRC, KC_RBRC, _______, _______, KC_7, KC_8, KC_9, KC_0, _______, | 68 | KC_GRV, _______, _______, KC_LBRC, KC_RBRC, _______, _______, KC_7, KC_8, KC_9, KC_0, _______, |
| 69 | _______, _______, _______, KC_LCBR, KC_RCBR, _______, _______, KC_4, KC_5, KC_6, KC_MINUS, KC_BSLS, | 69 | _______, _______, _______, KC_LCBR, KC_RCBR, _______, _______, KC_4, KC_5, KC_6, KC_MINUS, KC_BSLS, |
| 70 | _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, KC_EQUAL, _______, | 70 | _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, KC_EQUAL, _______, |
| 71 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MPLY | 71 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MPLY |
| @@ -125,8 +125,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 125 | float dpad_song_off[][2] = SONG(MAJOR_SOUND); | 125 | float dpad_song_off[][2] = SONG(MAJOR_SOUND); |
| 126 | #endif | 126 | #endif |
| 127 | 127 | ||
| 128 | // Disable LED on Rev6 | 128 | #ifndef BACKLIGHT_ENABLE |
| 129 | #ifdef KEYBOARD_planck_rev6 | ||
| 130 | layer_state_t layer_state_set_user(layer_state_t state) { | 129 | layer_state_t layer_state_set_user(layer_state_t state) { |
| 131 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | 130 | return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); |
| 132 | } | 131 | } |
diff --git a/layouts/community/ortho_4x12/junonum/rules.mk b/layouts/community/ortho_4x12/junonum/rules.mk index e206273f8..9f5d7e986 100644 --- a/layouts/community/ortho_4x12/junonum/rules.mk +++ b/layouts/community/ortho_4x12/junonum/rules.mk | |||
| @@ -1,9 +1,13 @@ | |||
| 1 | SRC += muse.c | 1 | SRC += muse.c |
| 2 | 2 | ||
| 3 | ifeq ($(strip $(KEYBOARD)), planck/rev6) | 3 | ifeq ($(strip $(KEYBOARD)),$(filter $(strip $(KEYBOARD)), planck/rev2 planck/rev3 planck/rev4 planck/rev5)) |
| 4 | BACKLIGHT_ENABLE = no | ||
| 5 | else | ||
| 6 | BACKLIGHT_ENABLE = yes | 4 | BACKLIGHT_ENABLE = yes |
| 5 | else | ||
| 6 | BACKLIGHT_ENABLE = no | ||
| 7 | endif | ||
| 8 | |||
| 9 | ifeq ($(strip $(KEYBOARD)), vitamins_included/rev1) | ||
| 10 | NKRO_ENABLE = no | ||
| 7 | endif | 11 | endif |
| 8 | 12 | ||
| 9 | MIDI_ENABLE=no | 13 | MIDI_ENABLE=no |
