aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rart/rart4x4/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rart/rart4x4/keymaps/via/keymap.c')
-rw-r--r--keyboards/rart/rart4x4/keymaps/via/keymap.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/keyboards/rart/rart4x4/keymaps/via/keymap.c b/keyboards/rart/rart4x4/keymaps/via/keymap.c
index 9407b5f33..86e553807 100644
--- a/keyboards/rart/rart4x4/keymaps/via/keymap.c
+++ b/keyboards/rart/rart4x4/keymaps/via/keymap.c
@@ -21,21 +21,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21 KC_P4, KC_P5, KC_P6, KC_PPLS, 21 KC_P4, KC_P5, KC_P6, KC_PPLS,
22 KC_P1, KC_P2, KC_P3, KC_PMNS 22 KC_P1, KC_P2, KC_P3, KC_PMNS
23 ), 23 ),
24 24
25 [1] = LAYOUT_ortho_4x4( 25 [1] = LAYOUT_ortho_4x4(
26 KC_TRNS, RGB_HUI, RGB_HUD, RESET, 26 KC_TRNS, RGB_HUI, RGB_HUD, RESET,
27 RGB_SAI, RGB_SAD, KC_MNXT, KC_MPRV, 27 RGB_SAI, RGB_SAD, KC_MNXT, KC_MPRV,
28 RGB_VAI, RGB_VAD, KC_MSTP, KC_MPLY, 28 RGB_VAI, RGB_VAD, KC_MSTP, KC_MPLY,
29 KC_COPY, KC_PSTE, KC_MYCM, RGB_TOG 29 KC_COPY, KC_PSTE, KC_MYCM, RGB_TOG
30 ), 30 ),
31 31
32 [2] = LAYOUT_ortho_4x4( 32 [2] = LAYOUT_ortho_4x4(
33 _______, _______, _______, _______, 33 _______, _______, _______, _______,
34 _______, _______, _______, _______, 34 _______, _______, _______, _______,
35 _______, _______, _______, _______, 35 _______, _______, _______, _______,
36 _______, _______, _______, _______ 36 _______, _______, _______, _______
37 ), 37 ),
38 38
39 [3] = LAYOUT_ortho_4x4( 39 [3] = LAYOUT_ortho_4x4(
40 _______, _______, _______, _______, 40 _______, _______, _______, _______,
41 _______, _______, _______, _______, 41 _______, _______, _______, _______,
@@ -44,7 +44,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
44 ) 44 )
45}; 45};
46 46
47void encoder_update_user(uint8_t index, bool clockwise) { 47bool encoder_update_user(uint8_t index, bool clockwise) {
48 if (index == 0) { /* First encoder */ 48 if (index == 0) { /* First encoder */
49 if (clockwise) { 49 if (clockwise) {
50 tap_code(KC_WH_U); 50 tap_code(KC_WH_U);
@@ -58,4 +58,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
58 tap_code(KC_VOLD); 58 tap_code(KC_VOLD);
59 } 59 }
60 } 60 }
61 return true;
61} 62}