summaryrefslogtreecommitdiffstats
path: root/keyboards/owlab/voice65/hotswap/hotswap.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-09-05 16:06:24 +0000
committerQMK Bot <hello@qmk.fm>2021-09-05 16:06:24 +0000
commita66e8c884f0b84cc4e4a6dc84daef83c13df80cd (patch)
tree3fd11469fe53d82e2bd23e3c083117a81bc13038 /keyboards/owlab/voice65/hotswap/hotswap.c
parent0b1dee6c50c6faf316343a18c9f64f611b704d58 (diff)
parent0471429c018b85ebbccfe8c823621235c99458b2 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/owlab/voice65/hotswap/hotswap.c')
-rw-r--r--keyboards/owlab/voice65/hotswap/hotswap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/owlab/voice65/hotswap/hotswap.c b/keyboards/owlab/voice65/hotswap/hotswap.c
index 343daafeb2..ca5ce7bb8b 100644
--- a/keyboards/owlab/voice65/hotswap/hotswap.c
+++ b/keyboards/owlab/voice65/hotswap/hotswap.c
@@ -123,9 +123,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;
@@ -260,7 +260,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++;
@@ -271,7 +270,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
set_encoder_mode(keyboard_config.encoder_mode_index);
}
return false;
-
case KC_F23:
if(!encoder_direction_start){
if(keyboard_config.encoder_mode_index > ENCODER_MODE_ONE){