From 112d5bb568b2a6c31c6886fed0c87fd55be90d1b Mon Sep 17 00:00:00 2001 From: fauxpark Date: Sun, 26 Feb 2023 13:55:12 +1100 Subject: [PATCH] `keebio/kbo5000`: fix encoder config --- keyboards/keebio/kbo5000/keymaps/default/keymap.c | 4 ++-- keyboards/keebio/kbo5000/keymaps/iso/keymap.c | 4 ++-- keyboards/keebio/kbo5000/keymaps/via/keymap.c | 4 ++-- keyboards/keebio/kbo5000/rev1/info.json | 3 +-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/keyboards/keebio/kbo5000/keymaps/default/keymap.c b/keyboards/keebio/kbo5000/keymaps/default/keymap.c index f72681e19fbc..5e4c9fb2220a 100644 --- a/keyboards/keebio/kbo5000/keymaps/default/keymap.c +++ b/keyboards/keebio/kbo5000/keymaps/default/keymap.c @@ -1,8 +1,8 @@ #include QMK_KEYBOARD_H enum encoder_names { - LEFT_HALF_ENC = 0, - RIGHT_HALF_ENC1 = 2, + LEFT_HALF_ENC, + RIGHT_HALF_ENC1, RIGHT_HALF_ENC2, }; diff --git a/keyboards/keebio/kbo5000/keymaps/iso/keymap.c b/keyboards/keebio/kbo5000/keymaps/iso/keymap.c index 4aaa9ebe5256..7ba2fc5972b8 100644 --- a/keyboards/keebio/kbo5000/keymaps/iso/keymap.c +++ b/keyboards/keebio/kbo5000/keymaps/iso/keymap.c @@ -1,8 +1,8 @@ #include QMK_KEYBOARD_H enum encoder_names { - LEFT_HALF_ENC = 0, - RIGHT_HALF_ENC1 = 2, + LEFT_HALF_ENC, + RIGHT_HALF_ENC1, RIGHT_HALF_ENC2, }; diff --git a/keyboards/keebio/kbo5000/keymaps/via/keymap.c b/keyboards/keebio/kbo5000/keymaps/via/keymap.c index fe491cfea8b8..2a0bbe6cd313 100644 --- a/keyboards/keebio/kbo5000/keymaps/via/keymap.c +++ b/keyboards/keebio/kbo5000/keymaps/via/keymap.c @@ -1,8 +1,8 @@ #include QMK_KEYBOARD_H enum encoder_names { - LEFT_HALF_ENC = 0, - RIGHT_HALF_ENC1 = 2, + LEFT_HALF_ENC, + RIGHT_HALF_ENC1, RIGHT_HALF_ENC2, }; diff --git a/keyboards/keebio/kbo5000/rev1/info.json b/keyboards/keebio/kbo5000/rev1/info.json index d65c9b38e2b4..9d3445f880d7 100644 --- a/keyboards/keebio/kbo5000/rev1/info.json +++ b/keyboards/keebio/kbo5000/rev1/info.json @@ -10,8 +10,7 @@ }, "encoder": { "rotary": [ - {"pin_a": "F5", "pin_b": "F6"}, - {"pin_a": "NO_PIN", "pin_b": "NO_PIN"} + {"pin_a": "F5", "pin_b": "F6"} ] }, "backlight": {