aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ckeys/washington/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ckeys/washington/keymaps/default/keymap.c')
-rw-r--r--keyboards/ckeys/washington/keymaps/default/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/ckeys/washington/keymaps/default/keymap.c b/keyboards/ckeys/washington/keymaps/default/keymap.c
index bfe296383..7adac3c43 100644
--- a/keyboards/ckeys/washington/keymaps/default/keymap.c
+++ b/keyboards/ckeys/washington/keymaps/default/keymap.c
@@ -39,7 +39,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
39 ) 39 )
40}; 40};
41 41
42void encoder_update_user(uint8_t index, bool clockwise) { 42bool encoder_update_user(uint8_t index, bool clockwise) {
43 switch (biton32(layer_state)) { 43 switch (biton32(layer_state)) {
44 case _BASE: 44 case _BASE:
45 if (clockwise) { 45 if (clockwise) {
@@ -55,6 +55,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
55 tap_code(KC_MPRV); 55 tap_code(KC_MPRV);
56 } 56 }
57 } 57 }
58 return true;
58} 59}
59 60
60#ifdef OLED_DRIVER_ENABLE 61#ifdef OLED_DRIVER_ENABLE
@@ -79,4 +80,4 @@ void oled_task_user(void) {
79 oled_write_P(IS_LED_ON(usb_led, USB_LED_CAPS_LOCK) ? PSTR("CAPLCK ") : PSTR(" "), false); 80 oled_write_P(IS_LED_ON(usb_led, USB_LED_CAPS_LOCK) ? PSTR("CAPLCK ") : PSTR(" "), false);
80 oled_write_P(IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK) ? PSTR("SCRLCK ") : PSTR(" "), false); 81 oled_write_P(IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK) ? PSTR("SCRLCK ") : PSTR(" "), false);
81} 82}
82#endif \ No newline at end of file 83#endif