diff options
Diffstat (limited to 'keyboards/aleblazer/zodiark/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/aleblazer/zodiark/keymaps/default/keymap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/aleblazer/zodiark/keymaps/default/keymap.c b/keyboards/aleblazer/zodiark/keymaps/default/keymap.c index 0692aee12..c09b483d9 100644 --- a/keyboards/aleblazer/zodiark/keymaps/default/keymap.c +++ b/keyboards/aleblazer/zodiark/keymaps/default/keymap.c | |||
@@ -44,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
44 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_GRV, KC_MUTE, RGB_TOG, KC_DEL,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , | 44 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_GRV, KC_MUTE, RGB_TOG, KC_DEL,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , |
45 | KC_LCTL, KC_LALT, KC_LGUI, LALT(KC_TAB), KC_LOWER, KC_SPC, KC_ENT, KC_ENT, KC_SPC, KC_RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | 45 | KC_LCTL, KC_LALT, KC_LGUI, LALT(KC_TAB), KC_LOWER, KC_SPC, KC_ENT, KC_ENT, KC_SPC, KC_RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT |
46 | ), | 46 | ), |
47 | 47 | ||
48 | [_LOWER] = LAYOUT( | 48 | [_LOWER] = LAYOUT( |
49 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | 49 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, |
50 | KC_PSLS, KC_P7, KC_P8, KC_P9, KC_NLCK, _______, _______, _______, _______, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_F12, | 50 | KC_PSLS, KC_P7, KC_P8, KC_P9, KC_NLCK, _______, _______, _______, _______, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_F12, |
@@ -52,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
52 | _______, KC_P1, KC_P2, KC_P3, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, _______, | 52 | _______, KC_P1, KC_P2, KC_P3, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, _______, |
53 | _______, KC_P0, KC_PDOT, KC_PENT, _______, _______, _______, _______, _______, _______, KC_P0, KC_PDOT, KC_PENT, _______ | 53 | _______, KC_P0, KC_PDOT, KC_PENT, _______, _______, _______, _______, _______, _______, KC_P0, KC_PDOT, KC_PENT, _______ |
54 | ), | 54 | ), |
55 | 55 | ||
56 | [_RAISE] = LAYOUT( | 56 | [_RAISE] = LAYOUT( |
57 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | 57 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, |
58 | KC_PSLS, KC_P7, KC_P8, KC_P9, KC_NLCK, _______, _______, _______, _______, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_F12, | 58 | KC_PSLS, KC_P7, KC_P8, KC_P9, KC_NLCK, _______, _______, _______, _______, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_F12, |
@@ -308,7 +308,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
308 | 308 | ||
309 | #ifdef ENCODER_ENABLE | 309 | #ifdef ENCODER_ENABLE |
310 | 310 | ||
311 | void encoder_update_user(uint8_t index, bool clockwise) { | 311 | bool encoder_update_user(uint8_t index, bool clockwise) { |
312 | if (index == 0) { | 312 | if (index == 0) { |
313 | if (clockwise) { | 313 | if (clockwise) { |
314 | tap_code(KC_VOLU); | 314 | tap_code(KC_VOLU); |
@@ -322,6 +322,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
322 | rgblight_step_reverse(); | 322 | rgblight_step_reverse(); |
323 | } | 323 | } |
324 | } | 324 | } |
325 | return true; | ||
325 | } | 326 | } |
326 | 327 | ||
327 | #endif | 328 | #endif |