aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dumbpad/v0x_right/templates/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dumbpad/v0x_right/templates/keymap.c')
-rw-r--r--keyboards/dumbpad/v0x_right/templates/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/dumbpad/v0x_right/templates/keymap.c b/keyboards/dumbpad/v0x_right/templates/keymap.c
index 11ed74518..6f862b822 100644
--- a/keyboards/dumbpad/v0x_right/templates/keymap.c
+++ b/keyboards/dumbpad/v0x_right/templates/keymap.c
@@ -2,7 +2,7 @@
2const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__}; 2const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__};
3 3
4 4
5void encoder_update_user(uint8_t index, bool clockwise) { 5bool encoder_update_user(uint8_t index, bool clockwise) {
6 if (index == 0) { 6 if (index == 0) {
7 switch (get_highest_layer(layer_state)) { 7 switch (get_highest_layer(layer_state)) {
8 case 0: 8 case 0:
@@ -22,4 +22,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
22 break; 22 break;
23 } 23 }
24 } 24 }
25 return true;
25} 26}