diff options
Diffstat (limited to 'keyboards/yushakobo')
| -rw-r--r-- | keyboards/yushakobo/quick7/keymaps/default/keymap.c | 3 | ||||
| -rw-r--r-- | keyboards/yushakobo/quick7/keymaps/tester/keymap.c | 5 | ||||
| -rw-r--r-- | keyboards/yushakobo/quick7/keymaps/via/keymap.c | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/keyboards/yushakobo/quick7/keymaps/default/keymap.c b/keyboards/yushakobo/quick7/keymaps/default/keymap.c index 3137f5853..385e89277 100644 --- a/keyboards/yushakobo/quick7/keymaps/default/keymap.c +++ b/keyboards/yushakobo/quick7/keymaps/default/keymap.c | |||
| @@ -54,7 +54,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 54 | return true; | 54 | return true; |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | void encoder_update_user(uint8_t index, bool clockwise) { | 57 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 58 | if (index == 0) { // Left encoder | 58 | if (index == 0) { // Left encoder |
| 59 | if (clockwise) { | 59 | if (clockwise) { |
| 60 | tap_code(KC_VOLU); | 60 | tap_code(KC_VOLU); |
| @@ -69,4 +69,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 69 | rgblight_increase_hue_noeeprom(); | 69 | rgblight_increase_hue_noeeprom(); |
| 70 | } | 70 | } |
| 71 | } | 71 | } |
| 72 | return true; | ||
| 72 | } | 73 | } |
diff --git a/keyboards/yushakobo/quick7/keymaps/tester/keymap.c b/keyboards/yushakobo/quick7/keymaps/tester/keymap.c index 57e4a28f3..d89bfd034 100644 --- a/keyboards/yushakobo/quick7/keymaps/tester/keymap.c +++ b/keyboards/yushakobo/quick7/keymaps/tester/keymap.c | |||
| @@ -114,7 +114,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 114 | return true; | 114 | return true; |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | void encoder_update_user(uint8_t index, bool clockwise) { | 117 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 118 | if (index == 0) { // Left encoder | 118 | if (index == 0) { // Left encoder |
| 119 | if (clockwise) { | 119 | if (clockwise) { |
| 120 | tap_code(KC_VOLU); | 120 | tap_code(KC_VOLU); |
| @@ -129,6 +129,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 129 | rgblight_increase_hue_noeeprom(); | 129 | rgblight_increase_hue_noeeprom(); |
| 130 | } | 130 | } |
| 131 | } | 131 | } |
| 132 | return true; | ||
| 132 | } | 133 | } |
| 133 | 134 | ||
| 134 | const rgblight_segment_t PROGMEM quick7_capslock[] = RGBLIGHT_LAYER_SEGMENTS( | 135 | const rgblight_segment_t PROGMEM quick7_capslock[] = RGBLIGHT_LAYER_SEGMENTS( |
| @@ -154,4 +155,4 @@ bool led_update_user(led_t led_state){ | |||
| 154 | rgblight_set_layer_state(0, led_state.caps_lock); | 155 | rgblight_set_layer_state(0, led_state.caps_lock); |
| 155 | rgblight_set_layer_state(1, led_state.num_lock); | 156 | rgblight_set_layer_state(1, led_state.num_lock); |
| 156 | return true; | 157 | return true; |
| 157 | } \ No newline at end of file | 158 | } |
diff --git a/keyboards/yushakobo/quick7/keymaps/via/keymap.c b/keyboards/yushakobo/quick7/keymaps/via/keymap.c index 9c64042bc..122decc92 100644 --- a/keyboards/yushakobo/quick7/keymaps/via/keymap.c +++ b/keyboards/yushakobo/quick7/keymaps/via/keymap.c | |||
| @@ -66,7 +66,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 66 | return true; | 66 | return true; |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | void encoder_update_user(uint8_t index, bool clockwise) { | 69 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 70 | if (index == 0) { // Left encoder | 70 | if (index == 0) { // Left encoder |
| 71 | if (clockwise) { | 71 | if (clockwise) { |
| 72 | tap_code(KC_VOLU); | 72 | tap_code(KC_VOLU); |
| @@ -81,4 +81,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 81 | rgblight_increase_hue_noeeprom(); | 81 | rgblight_increase_hue_noeeprom(); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | return true; | ||
| 84 | } | 85 | } |
