From 89487677e3002dd645f7a4c31df671f1cff8bad1 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 15:24:24 +1100 Subject: [PATCH] `keebio/kbo5000`: fix encoder config (#19941) --- 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 f72681e19f..5e4c9fb222 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 4aaa9ebe52..7ba2fc5972 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 fe491cfea8..2a0bbe6cd3 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 d65c9b38e2..9d3445f880 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": {