diff options
Diffstat (limited to 'keyboards/abstract')
| -rw-r--r-- | keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c | 5 | ||||
| -rw-r--r-- | keyboards/abstract/ellipse/keymaps/default/keymap.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c b/keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c index 8d649419d..224de55b3 100644 --- a/keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c +++ b/keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c | |||
| @@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 43 | 43 | ||
| 44 | }*/ | 44 | }*/ |
| 45 | 45 | ||
| 46 | void encoder_update_user(uint8_t index, bool clockwise) { | 46 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 47 | if (index == 0) { /* First encoder */ | 47 | if (index == 0) { /* First encoder */ |
| 48 | if (clockwise) { | 48 | if (clockwise) { |
| 49 | tap_code(KC_VOLU); | 49 | tap_code(KC_VOLU); |
| @@ -63,4 +63,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 63 | backlight_decrease(); | 63 | backlight_decrease(); |
| 64 | } | 64 | } |
| 65 | } | 65 | } |
| 66 | } \ No newline at end of file | 66 | return true; |
| 67 | } | ||
diff --git a/keyboards/abstract/ellipse/keymaps/default/keymap.c b/keyboards/abstract/ellipse/keymaps/default/keymap.c index ac1ec986b..4fe1cf7cb 100644 --- a/keyboards/abstract/ellipse/keymaps/default/keymap.c +++ b/keyboards/abstract/ellipse/keymaps/default/keymap.c | |||
| @@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 43 | 43 | ||
| 44 | }*/ | 44 | }*/ |
| 45 | 45 | ||
| 46 | void encoder_update_user(uint8_t index, bool clockwise) { | 46 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 47 | if (index == 0) { /* First encoder */ | 47 | if (index == 0) { /* First encoder */ |
| 48 | if (clockwise) { | 48 | if (clockwise) { |
| 49 | tap_code(KC_O); | 49 | tap_code(KC_O); |
| @@ -63,4 +63,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 63 | tap_code(KC_R); | 63 | tap_code(KC_R); |
| 64 | } | 64 | } |
| 65 | } | 65 | } |
| 66 | } \ No newline at end of file | 66 | return true; |
| 67 | } | ||
