diff options
author | kb-elmo <lorwel@mailbox.org> | 2021-09-05 18:05:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 09:05:55 -0700 |
commit | 0471429c018b85ebbccfe8c823621235c99458b2 (patch) | |
tree | ad5dbf136d71370377df0511e64060dc99fbc1d5 /keyboards/owlab/voice65/soldered/soldered.c | |
parent | 014aa0661e2d9cf5b67334f82869d4a841cc703f (diff) |
[Keyboard] Fix rotary encoder function for Voice65 (#14316)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/owlab/voice65/soldered/soldered.c')
-rw-r--r-- | keyboards/owlab/voice65/soldered/soldered.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/owlab/voice65/soldered/soldered.c b/keyboards/owlab/voice65/soldered/soldered.c index 06288eb0a8..bbd2daf293 100644 --- a/keyboards/owlab/voice65/soldered/soldered.c +++ b/keyboards/owlab/voice65/soldered/soldered.c @@ -127,9 +127,9 @@ void rgb_matrix_indicators_user(void) } enum encoder_modes{ - ENCODER_MODE_ONE = 0, + ENCODER_MODE_ONE, ENCODER_MODE_TWO, - ENCODER_MODE_THREE, + ENCODER_MODE_THREE }; keyboard_config_t keyboard_config; @@ -264,7 +264,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { break; case KC_F22: //change encoder mode upward - if(!encoder_direction_start){ if(keyboard_config.encoder_mode_index < ENCODER_MODE_THREE){ keyboard_config.encoder_mode_index++; |