diff options
Diffstat (limited to 'keyboards/latinpad/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/latinpad/keymaps/default/keymap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/latinpad/keymaps/default/keymap.c b/keyboards/latinpad/keymaps/default/keymap.c index 8edc66f0a..fe0741423 100644 --- a/keyboards/latinpad/keymaps/default/keymap.c +++ b/keyboards/latinpad/keymaps/default/keymap.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* Keymap _0: (Base Layer) Default Layer | 1 | /* Keymap _0: (Base Layer) Default Layer |
2 | 2 | ||
3 | * .-----------. | 3 | * .-----------. |
4 | * |PGUP | PGDN| | 4 | * |PGUP | PGDN| |
5 | * |-----------------------. | 5 | * |-----------------------. |
6 | * | 7 | 8 | 9 | MO1 | | 6 | * | 7 | 8 | 9 | MO1 | |
7 | * |-----|-----|-----|-----| | 7 | * |-----|-----|-----|-----| |
@@ -15,7 +15,7 @@ | |||
15 | /* Keymap _1: (Second Layer) second Layer | 15 | /* Keymap _1: (Second Layer) second Layer |
16 | 16 | ||
17 | * .---------------. | 17 | * .---------------. |
18 | * |NUMLOCK|Calc. | | 18 | * |NUMLOCK|Calc. | |
19 | * |--------------------------------. | 19 | * |--------------------------------. |
20 | * |RGB_TOG|RGB_MOD|RGB_M_K|RGB_M_X | | 20 | * |RGB_TOG|RGB_MOD|RGB_M_K|RGB_M_X | |
21 | * |-------|-------|-------|--------| | 21 | * |-------|-------|-------|--------| |
@@ -52,7 +52,7 @@ static void render_logo(void) { | |||
52 | void oled_task_user(void) { render_logo(); } | 52 | void oled_task_user(void) { render_logo(); } |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | void encoder_update_user(uint8_t index, bool clockwise) { | 55 | bool encoder_update_user(uint8_t index, bool clockwise) { |
56 | if (index == 0) { | 56 | if (index == 0) { |
57 | if (clockwise) { | 57 | if (clockwise) { |
58 | tap_code(KC_AUDIO_VOL_UP); | 58 | tap_code(KC_AUDIO_VOL_UP); |
@@ -66,5 +66,6 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
66 | tap_code(KC_BRIGHTNESS_DOWN); | 66 | tap_code(KC_BRIGHTNESS_DOWN); |
67 | } | 67 | } |
68 | } | 68 | } |
69 | return true; | ||
69 | } | 70 | } |
70 | void matrix_init_user(void) { render_logo(); } | 71 | void matrix_init_user(void) { render_logo(); } |