diff options
Diffstat (limited to 'keyboards/nightingale_studios')
| -rw-r--r-- | keyboards/nightingale_studios/hailey/keymaps/default/keymap.c | 3 | ||||
| -rw-r--r-- | keyboards/nightingale_studios/hailey/keymaps/via/keymap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/nightingale_studios/hailey/keymaps/default/keymap.c b/keyboards/nightingale_studios/hailey/keymaps/default/keymap.c index 062c51aab..695937a95 100644 --- a/keyboards/nightingale_studios/hailey/keymaps/default/keymap.c +++ b/keyboards/nightingale_studios/hailey/keymaps/default/keymap.c | |||
| @@ -37,10 +37,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 37 | ), | 37 | ), |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | void encoder_update_user(uint8_t index, bool clockwise) { | 40 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 41 | if (clockwise) { | 41 | if (clockwise) { |
| 42 | tap_code(KC_VOLU); | 42 | tap_code(KC_VOLU); |
| 43 | } else { | 43 | } else { |
| 44 | tap_code(KC_VOLD); | 44 | tap_code(KC_VOLD); |
| 45 | } | 45 | } |
| 46 | return true; | ||
| 46 | } | 47 | } |
diff --git a/keyboards/nightingale_studios/hailey/keymaps/via/keymap.c b/keyboards/nightingale_studios/hailey/keymaps/via/keymap.c index 0b7e0903e..71283252d 100644 --- a/keyboards/nightingale_studios/hailey/keymaps/via/keymap.c +++ b/keyboards/nightingale_studios/hailey/keymaps/via/keymap.c | |||
| @@ -37,10 +37,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 37 | ), | 37 | ), |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | void encoder_update_user(uint8_t index, bool clockwise) { | 40 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 41 | if (clockwise) { | 41 | if (clockwise) { |
| 42 | tap_code(KC_VOLU); | 42 | tap_code(KC_VOLU); |
| 43 | } else { | 43 | } else { |
| 44 | tap_code(KC_VOLD); | 44 | tap_code(KC_VOLD); |
| 45 | } | 45 | } |
| 46 | return true; | ||
| 46 | } | 47 | } |
