aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/swiftrax/pandamic/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/swiftrax/pandamic/keymaps/default/keymap.c')
-rw-r--r--keyboards/handwired/swiftrax/pandamic/keymaps/default/keymap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/handwired/swiftrax/pandamic/keymaps/default/keymap.c b/keyboards/handwired/swiftrax/pandamic/keymaps/default/keymap.c
index 11e770921..3dd899227 100644
--- a/keyboards/handwired/swiftrax/pandamic/keymaps/default/keymap.c
+++ b/keyboards/handwired/swiftrax/pandamic/keymaps/default/keymap.c
@@ -37,13 +37,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, 37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 39 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
40 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), 40 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
41}; 41};
42 42
43void encoder_update_user(uint8_t index, bool clockwise) { 43bool encoder_update_user(uint8_t index, bool clockwise) {
44 if (clockwise) { 44 if (clockwise) {
45 tap_code(KC_VOLU); 45 tap_code(KC_VOLU);
46 } else { 46 } else {
47 tap_code(KC_VOLD); 47 tap_code(KC_VOLD);
48 } 48 }
49} \ No newline at end of file 49 return true;
50}