summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/kbo5000/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/kbo5000/rev1')
-rw-r--r--keyboards/keebio/kbo5000/rev1/config.h16
-rw-r--r--keyboards/keebio/kbo5000/rev1/info.json21
2 files changed, 21 insertions, 16 deletions
diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h
index 9613f40588..4e6f11cd38 100644
--- a/keyboards/keebio/kbo5000/rev1/config.h
+++ b/keyboards/keebio/kbo5000/rev1/config.h
@@ -18,11 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-/* key matrix size */
-// Rows are doubled-up
-#define MATRIX_ROWS 12
-#define MATRIX_COLS 10
-
#define DIODE_DIRECTION COL2ROW
// wiring of each half
#define MATRIX_ROW_PINS { B1, B2, C7, B4, D7, B0 }
@@ -30,20 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS_RIGHT { B3, B2, B6, B4, D7, B0 }
#define MATRIX_COL_PINS_RIGHT { F1, F0, F4, F5, F6, D5, D2, D3, B7, B1 }
#define SPLIT_HAND_PIN F7
-#define ENCODERS_PAD_A { F5, NO_PIN }
-#define ENCODERS_PAD_B { F6, NO_PIN }
-#define ENCODERS_PAD_A_RIGHT { D6, C7 }
-#define ENCODERS_PAD_B_RIGHT { D4, C6 }
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-#define BACKLIGHT_PIN B5
#define CAPS_LOCK_LED_PIN B6
-/* serial.c configuration for split keyboard */
-#define SOFT_SERIAL_PIN D0
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/keebio/kbo5000/rev1/info.json b/keyboards/keebio/kbo5000/rev1/info.json
index b07e73f17e..9d3445f880 100644
--- a/keyboards/keebio/kbo5000/rev1/info.json
+++ b/keyboards/keebio/kbo5000/rev1/info.json
@@ -8,6 +8,27 @@
"pid": "0x126A",
"device_version": "1.0.0"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "F5", "pin_b": "F6"}
+ ]
+ },
+ "backlight": {
+ "pin": "B5"
+ },
+ "split": {
+ "soft_serial_pin": "D0",
+ "encoder": {
+ "right": {
+ "rotary": [
+ {"pin_a": "D6", "pin_b": "C7"},
+ {"pin_a": "D4", "pin_b": "C6"}
+ ]
+ }
+ }
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_ansi": {
"layout": [
[cgit] Unable to lock slot /tmp/cgit/83100000.lock: No such file or directory (2)