summaryrefslogtreecommitdiff
path: root/keyboards/latinpad/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/latinpad/keymaps')
-rw-r--r--keyboards/latinpad/keymaps/default/keymap.c7
-rw-r--r--keyboards/latinpad/keymaps/via/keymap.c7
2 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/latinpad/keymaps/default/keymap.c b/keyboards/latinpad/keymaps/default/keymap.c
index 8edc66f0ab..fe0741423c 100644
--- a/keyboards/latinpad/keymaps/default/keymap.c
+++ b/keyboards/latinpad/keymaps/default/keymap.c
@@ -1,7 +1,7 @@
/* Keymap _0: (Base Layer) Default Layer
* .-----------.
- * |PGUP | PGDN|
+ * |PGUP | PGDN|
* |-----------------------.
* | 7 | 8 | 9 | MO1 |
* |-----|-----|-----|-----|
@@ -15,7 +15,7 @@
/* Keymap _1: (Second Layer) second Layer
* .---------------.
- * |NUMLOCK|Calc. |
+ * |NUMLOCK|Calc. |
* |--------------------------------.
* |RGB_TOG|RGB_MOD|RGB_M_K|RGB_M_X |
* |-------|-------|-------|--------|
@@ -52,7 +52,7 @@ static void render_logo(void) {
void oled_task_user(void) { render_logo(); }
#endif
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
tap_code(KC_AUDIO_VOL_UP);
@@ -66,5 +66,6 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_BRIGHTNESS_DOWN);
}
}
+ return true;
}
void matrix_init_user(void) { render_logo(); }
diff --git a/keyboards/latinpad/keymaps/via/keymap.c b/keyboards/latinpad/keymaps/via/keymap.c
index c48dd88a81..c196cd485f 100644
--- a/keyboards/latinpad/keymaps/via/keymap.c
+++ b/keyboards/latinpad/keymaps/via/keymap.c
@@ -1,6 +1,6 @@
/* Keymap _0: (Base Layer) Default Layer
* .-----------.
- * |PGUP | PGDN|
+ * |PGUP | PGDN|
* |-----------------------.
* | 7 | 8 | 9 | MO1 |
* |-----|-----|-----|-----|
@@ -13,7 +13,7 @@
*/
/* Keymap _1: (Second Layer) second Layer
* .---------------.
- * |NUMLOCK|Calc. |
+ * |NUMLOCK|Calc. |
* |--------------------------------.
* |RGB_TOG|RGB_MOD|RGB_M_K|RGB_M_X |
* |-------|-------|-------|--------|
@@ -50,7 +50,7 @@ static void render_logo(void) {
void oled_task_user(void) { render_logo(); }
#endif
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
tap_code(KC_AUDIO_VOL_UP);
@@ -64,5 +64,6 @@ void encoder_update_user(uint8_t index, bool clockwise) {
tap_code(KC_BRIGHTNESS_DOWN);
}
}
+ return true;
}
void matrix_init_user(void) { render_logo(); }