diff options
| -rw-r--r-- | keyboards/keebio/iris/keymaps/via/keymap.c | 7 | ||||
| -rw-r--r-- | keyboards/keebio/iris/rev4/rev4.h | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/keebio/iris/keymaps/via/keymap.c b/keyboards/keebio/iris/keymaps/via/keymap.c index c861ae845..05eb42ae0 100644 --- a/keyboards/keebio/iris/keymaps/via/keymap.c +++ b/keyboards/keebio/iris/keymaps/via/keymap.c | |||
| @@ -69,6 +69,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 69 | void encoder_update_user(uint8_t index, bool clockwise) { | 69 | void encoder_update_user(uint8_t index, bool clockwise) { |
| 70 | if (index == 0) { | 70 | if (index == 0) { |
| 71 | if (clockwise) { | 71 | if (clockwise) { |
| 72 | tap_code(KC_VOLU); | ||
| 73 | } else { | ||
| 74 | tap_code(KC_VOLD); | ||
| 75 | } | ||
| 76 | } | ||
| 77 | else if (index == 1) { | ||
| 78 | if (clockwise) { | ||
| 72 | tap_code(KC_PGDN); | 79 | tap_code(KC_PGDN); |
| 73 | } else { | 80 | } else { |
| 74 | tap_code(KC_PGUP); | 81 | tap_code(KC_PGUP); |
diff --git a/keyboards/keebio/iris/rev4/rev4.h b/keyboards/keebio/iris/rev4/rev4.h index d8623348e..06e515ebc 100644 --- a/keyboards/keebio/iris/rev4/rev4.h +++ b/keyboards/keebio/iris/rev4/rev4.h | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | #include "iris.h" | 3 | #include "iris.h" |
| 4 | #include "quantum.h" | 4 | #include "quantum.h" |
| 5 | 5 | ||
| 6 | |||
| 7 | #ifdef USE_I2C | 6 | #ifdef USE_I2C |
| 8 | #include <stddef.h> | 7 | #include <stddef.h> |
| 9 | #ifdef __AVR__ | 8 | #ifdef __AVR__ |
