diff options
Diffstat (limited to 'keyboards/keebio/kbo5000')
-rw-r--r-- | keyboards/keebio/kbo5000/kbo5000.c | 1 | ||||
-rw-r--r-- | keyboards/keebio/kbo5000/kbo5000.h | 7 | ||||
-rw-r--r-- | keyboards/keebio/kbo5000/keymaps/via/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/kbo5000/rev1/config.h | 7 | ||||
-rw-r--r-- | keyboards/keebio/kbo5000/rev1/info.json | 698 | ||||
-rw-r--r-- | keyboards/keebio/kbo5000/rev1/rev1.c | 2 | ||||
-rw-r--r-- | keyboards/keebio/kbo5000/rev1/rev1.h | 73 |
7 files changed, 382 insertions, 408 deletions
diff --git a/keyboards/keebio/kbo5000/kbo5000.c b/keyboards/keebio/kbo5000/kbo5000.c deleted file mode 100644 index c46093537e..0000000000 --- a/keyboards/keebio/kbo5000/kbo5000.c +++ /dev/null @@ -1 +0,0 @@ -#include "kbo5000.h" diff --git a/keyboards/keebio/kbo5000/kbo5000.h b/keyboards/keebio/kbo5000/kbo5000.h deleted file mode 100644 index 33f1998eb0..0000000000 --- a/keyboards/keebio/kbo5000/kbo5000.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_keebio_kbo5000_rev1 - #include "rev1.h" -#endif diff --git a/keyboards/keebio/kbo5000/keymaps/via/keymap.c b/keyboards/keebio/kbo5000/keymaps/via/keymap.c index bb4e94ca66..8ab98270c5 100644 --- a/keyboards/keebio/kbo5000/keymaps/via/keymap.c +++ b/keyboards/keebio/kbo5000/keymaps/via/keymap.c @@ -30,7 +30,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; #if defined(ENCODER_MAP_ENABLE) -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { [0] = { ENCODER_CCW_CW(KC_PGDN, KC_PGUP), ENCODER_CCW_CW(KC_DOWN, KC_UP), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, [1] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_MPRV, KC_MNXT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, [2] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h index 4e6f11cd38..f02c15c4a7 100644 --- a/keyboards/keebio/kbo5000/rev1/config.h +++ b/keyboards/keebio/kbo5000/rev1/config.h @@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define DIODE_DIRECTION COL2ROW -// wiring of each half -#define MATRIX_ROW_PINS { B1, B2, C7, B4, D7, B0 } -#define MATRIX_COL_PINS { F4, NO_PIN, F0, B7, B3, D2, D3, D5, D4, NO_PIN } -#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 CAPS_LOCK_LED_PIN B6 @@ -34,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define LOCKING_RESYNC_ENABLE /* ws2812 RGB LED */ -#define RGB_DI_PIN E6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/keebio/kbo5000/rev1/info.json b/keyboards/keebio/kbo5000/rev1/info.json index f8e1c046c7..d40c12b52d 100644 --- a/keyboards/keebio/kbo5000/rev1/info.json +++ b/keyboards/keebio/kbo5000/rev1/info.json @@ -8,6 +8,11 @@ "pid": "0x136A", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["F4", null, "F0", "B7", "B3", "D2", "D3", "D5", "D4", null], + "rows": ["B1", "B2", "C7", "B4", "D7", "B0"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "F5", "pin_b": "F6"} @@ -16,6 +21,9 @@ "backlight": { "pin": "B5" }, + "ws2812": { + "pin": "E6" + }, "split": { "soft_serial_pin": "D0", "encoder": { @@ -25,6 +33,12 @@ {"pin_a": "C7", "pin_b": "C6"} ] } + }, + "matrix_pins": { + "right": { + "cols": ["F1", "F0", "F4", "F5", "F6", "D5", "D2", "D3", "B7", "B1"], + "rows": ["B3", "B2", "B6", "B4", "D7", "B0"] + } } }, "processor": "atmega32u4", @@ -32,332 +46,380 @@ "layouts": { "LAYOUT_ansi": { "layout": [ - {"label":"Esc", "x":0, "y":0}, - {"label":"F1", "x":2, "y":0}, - {"label":"F2", "x":3, "y":0}, - {"label":"F3", "x":4, "y":0}, - {"label":"F4", "x":5, "y":0}, - {"label":"F5", "x":6.5, "y":0}, - {"label":"F6", "x":7.5, "y":0}, - - {"label":"F7", "x":10, "y":0}, - {"label":"F8", "x":11, "y":0}, - {"label":"F9", "x":12.5, "y":0}, - {"label":"F10", "x":13.5, "y":0}, - {"label":"F11", "x":14.5, "y":0}, - {"label":"F12", "x":15.5, "y":0}, - {"label":"Prt Sc", "x":17.5, "y":0}, - {"label":"Scr Lk", "x":18.5, "y":0}, - {"label":"Pause", "x":19.5, "y":0}, - - {"label":"F13", "x":0, "y":1.25}, - {"label":"~", "x":1.5, "y":1.25}, - {"label":"!", "x":2.5, "y":1.25}, - {"label":"@", "x":3.5, "y":1.25}, - {"label":"#", "x":4.5, "y":1.25}, - {"label":"$", "x":5.5, "y":1.25}, - {"label":"%", "x":6.5, "y":1.25}, - {"label":"^", "x":7.5, "y":1.25}, - - {"label":"&", "x":10, "y":1.25}, - {"label":"*", "x":11, "y":1.25}, - {"label":"(", "x":12, "y":1.25}, - {"label":")", "x":13, "y":1.25}, - {"label":"_", "x":14, "y":1.25}, - {"label":"+", "x":15, "y":1.25}, - {"label":"Del", "x":16, "y":1.25}, - {"label":"Bksp", "x":17, "y":1.25}, - {"label":"Ins", "x":18.5, "y":1.25}, - {"label":"Pg Up", "x":19.5, "y":1.25}, - - {"label":"F14", "x":0, "y":2.25}, - {"label":"Tab", "x":1.5, "y":2.25, "w":1.5}, - {"label":"Q", "x":3, "y":2.25}, - {"label":"W", "x":4, "y":2.25}, - {"label":"E", "x":5, "y":2.25}, - {"label":"R", "x":6, "y":2.25}, - {"label":"T", "x":7, "y":2.25}, - - {"label":"Y", "x":9.5, "y":2.25}, - {"label":"U", "x":10.5, "y":2.25}, - {"label":"I", "x":11.5, "y":2.25}, - {"label":"O", "x":12.5, "y":2.25}, - {"label":"P", "x":13.5, "y":2.25}, - {"label":"{", "x":14.5, "y":2.25}, - {"label":"}", "x":15.5, "y":2.25}, - {"label":"|", "x":16.5, "y":2.25, "w":1.5}, - {"label":"Del", "x":18.5, "y":2.25}, - {"label":"Pg Dn", "x":19.5, "y":2.25}, - - {"label":"F15", "x":0, "y":3.25}, - {"label":"Caps Lock", "x":1.5, "y":3.25, "w":1.75}, - {"label":"A", "x":3.25, "y":3.25}, - {"label":"S", "x":4.25, "y":3.25}, - {"label":"D", "x":5.25, "y":3.25}, - {"label":"F", "x":6.25, "y":3.25}, - {"label":"G", "x":7.25, "y":3.25}, - - {"label":"H", "x":9.75, "y":3.25}, - {"label":"J", "x":10.75, "y":3.25}, - {"label":"K", "x":11.75, "y":3.25}, - {"label":"L", "x":12.75, "y":3.25}, - {"label":":", "x":13.75, "y":3.25}, - {"label":"\"", "x":14.75, "y":3.25}, - {"label":"Enter", "x":15.75, "y":3.25, "w":2.25}, - {"label":"Home", "x":18.5, "y":3.25}, - {"label":"End", "x":19.5, "y":3.25}, - - {"label":"F16", "x":0, "y":4.25}, - {"label":"Shift", "x":1.5, "y":4.25, "w":2.25}, - {"label":"Z", "x":3.75, "y":4.25}, - {"label":"X", "x":4.75, "y":4.25}, - {"label":"C", "x":5.75, "y":4.25}, - {"label":"V", "x":6.75, "y":4.25}, - {"label":"B", "x":7.75, "y":4.25}, - {"label":"N", "x":10.25, "y":4.25}, - {"label":"M", "x":11.25, "y":4.25}, - {"label":"<", "x":12.25, "y":4.25}, - {"label":">", "x":13.25, "y":4.25}, - {"label":"?", "x":14.25, "y":4.25}, - {"label":"Shift", "x":15.25, "y":4.25, "w":1.75}, - {"label":"Up", "x":18.5, "y":4.25}, - - {"label":"F17", "x":0, "y":5.25}, - {"label":"Ctrl", "x":1.5, "y":5.25, "w":1.25}, - {"label":"Win", "x":2.75, "y":5.25}, - {"label":"Alt", "x":3.75, "y":5.25, "w":1.25}, - {"label":"Fn", "x":5, "y":5.25, "w":1.25}, - {"label":"Space", "x":6.25, "y":5.25}, - {"label":"Fn", "x":7.25, "y":5.25, "w":1.25}, - {"label":"Fn", "x":10, "y":5.25, "w":1.25}, - {"label":"Space", "x":11.25, "y":5.25, "w":2.25}, - {"label":"Alt", "x":13.5, "y":5.25, "w":1.25}, - {"label":"Win", "x":14.75, "y":5.25}, - {"label":"Ctrl", "x":15.75, "y":5.25, "w":1.25}, - {"label":"Left", "x":17.5, "y":5.25}, - {"label":"Down", "x":18.5, "y":5.25}, - {"label":"Right", "x":19.5, "y":5.25} + {"matrix": [5, 0], "x": 0, "y": 0}, + + {"matrix": [5, 3], "x": 2, "y": 0}, + {"matrix": [5, 4], "x": 3, "y": 0}, + {"matrix": [5, 5], "x": 4, "y": 0}, + {"matrix": [5, 6], "x": 5, "y": 0}, + + {"matrix": [5, 7], "x": 6.5, "y": 0}, + {"matrix": [5, 8], "x": 7.5, "y": 0}, + + {"matrix": [11, 0], "x": 10, "y": 0}, + {"matrix": [11, 1], "x": 11, "y": 0}, + + {"matrix": [11, 3], "x": 12.5, "y": 0}, + {"matrix": [11, 4], "x": 13.5, "y": 0}, + {"matrix": [11, 5], "x": 14.5, "y": 0}, + {"matrix": [11, 6], "x": 15.5, "y": 0}, + + {"matrix": [11, 7], "x": 17.5, "y": 0}, + {"matrix": [11, 8], "x": 18.5, "y": 0}, + {"matrix": [11, 9], "x": 19.5, "y": 0}, + + {"matrix": [0, 0], "x": 0, "y": 1.25}, + + {"matrix": [0, 2], "x": 1.5, "y": 1.25}, + {"matrix": [0, 3], "x": 2.5, "y": 1.25}, + {"matrix": [0, 4], "x": 3.5, "y": 1.25}, + {"matrix": [0, 5], "x": 4.5, "y": 1.25}, + {"matrix": [0, 6], "x": 5.5, "y": 1.25}, + {"matrix": [0, 7], "x": 6.5, "y": 1.25}, + {"matrix": [0, 8], "x": 7.5, "y": 1.25}, + + {"matrix": [6, 0], "x": 10, "y": 1.25}, + {"matrix": [6, 1], "x": 11, "y": 1.25}, + {"matrix": [6, 2], "x": 12, "y": 1.25}, + {"matrix": [6, 3], "x": 13, "y": 1.25}, + {"matrix": [6, 4], "x": 14, "y": 1.25}, + {"matrix": [6, 5], "x": 15, "y": 1.25}, + {"matrix": [6, 6], "x": 16, "y": 1.25}, + {"matrix": [6, 7], "x": 17, "y": 1.25}, + + {"matrix": [6, 8], "x": 18.5, "y": 1.25}, + {"matrix": [6, 9], "x": 19.5, "y": 1.25}, + + {"matrix": [1, 0], "x": 0, "y": 2.25}, + + {"matrix": [1, 2], "x": 1.5, "y": 2.25, "w": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 2.25}, + {"matrix": [1, 4], "x": 4, "y": 2.25}, + {"matrix": [1, 5], "x": 5, "y": 2.25}, + {"matrix": [1, 6], "x": 6, "y": 2.25}, + {"matrix": [1, 7], "x": 7, "y": 2.25}, + + {"matrix": [7, 0], "x": 9.5, "y": 2.25}, + {"matrix": [7, 1], "x": 10.5, "y": 2.25}, + {"matrix": [7, 2], "x": 11.5, "y": 2.25}, + {"matrix": [7, 3], "x": 12.5, "y": 2.25}, + {"matrix": [7, 4], "x": 13.5, "y": 2.25}, + {"matrix": [7, 5], "x": 14.5, "y": 2.25}, + {"matrix": [7, 6], "x": 15.5, "y": 2.25}, + {"matrix": [7, 7], "x": 16.5, "y": 2.25, "w": 1.5}, + + {"matrix": [7, 8], "x": 18.5, "y": 2.25}, + {"matrix": [7, 9], "x": 19.5, "y": 2.25}, + + {"matrix": [2, 0], "x": 0, "y": 3.25}, + + {"matrix": [2, 2], "x": 1.5, "y": 3.25, "w": 1.75}, + {"matrix": [2, 3], "x": 3.25, "y": 3.25}, + {"matrix": [2, 4], "x": 4.25, "y": 3.25}, + {"matrix": [2, 5], "x": 5.25, "y": 3.25}, + {"matrix": [2, 6], "x": 6.25, "y": 3.25}, + {"matrix": [2, 7], "x": 7.25, "y": 3.25}, + + {"matrix": [8, 0], "x": 9.75, "y": 3.25}, + {"matrix": [8, 1], "x": 10.75, "y": 3.25}, + {"matrix": [8, 2], "x": 11.75, "y": 3.25}, + {"matrix": [8, 3], "x": 12.75, "y": 3.25}, + {"matrix": [8, 4], "x": 13.75, "y": 3.25}, + {"matrix": [8, 5], "x": 14.75, "y": 3.25}, + {"matrix": [8, 7], "x": 15.75, "y": 3.25, "w": 2.25}, + + {"matrix": [8, 8], "x": 18.5, "y": 3.25}, + {"matrix": [8, 9], "x": 19.5, "y": 3.25}, + + {"matrix": [3, 0], "x": 0, "y": 4.25}, + + {"matrix": [3, 2], "x": 1.5, "y": 4.25, "w": 2.25}, + {"matrix": [3, 4], "x": 3.75, "y": 4.25}, + {"matrix": [3, 5], "x": 4.75, "y": 4.25}, + {"matrix": [3, 6], "x": 5.75, "y": 4.25}, + {"matrix": [3, 7], "x": 6.75, "y": 4.25}, + {"matrix": [3, 8], "x": 7.75, "y": 4.25}, + + {"matrix": [9, 0], "x": 10.25, "y": 4.25}, + {"matrix": [9, 1], "x": 11.25, "y": 4.25}, + {"matrix": [9, 2], "x": 12.25, "y": 4.25}, + {"matrix": [9, 3], "x": 13.25, "y": 4.25}, + {"matrix": [9, 4], "x": 14.25, "y": 4.25}, + {"matrix": [9, 6], "x": 15.25, "y": 4.25, "w": 1.75}, + + {"matrix": [9, 8], "x": 18.5, "y": 4.25}, + + {"matrix": [4, 0], "x": 0, "y": 5.25}, + + {"matrix": [4, 2], "x": 1.5, "y": 5.25, "w": 1.25}, + {"matrix": [4, 3], "x": 2.75, "y": 5.25}, + {"matrix": [4, 4], "x": 3.75, "y": 5.25, "w": 1.25}, + {"matrix": [4, 5], "x": 5, "y": 5.25, "w": 1.25}, + {"matrix": [4, 6], "x": 6.25, "y": 5.25}, + {"matrix": [4, 7], "x": 7.25, "y": 5.25, "w": 1.25}, + + {"matrix": [10, 0], "x": 10, "y": 5.25, "w": 1.25}, + {"matrix": [10, 1], "x": 11.25, "y": 5.25, "w": 2.25}, + {"matrix": [10, 2], "x": 13.5, "y": 5.25, "w": 1.25}, + {"matrix": [10, 3], "x": 14.75, "y": 5.25}, + {"matrix": [10, 6], "x": 15.75, "y": 5.25, "w": 1.25}, + + {"matrix": [10, 7], "x": 17.5, "y": 5.25}, + {"matrix": [10, 8], "x": 18.5, "y": 5.25}, + {"matrix": [10, 9], "x": 19.5, "y": 5.25} ] }, "LAYOUT_iso": { "layout": [ - {"label":"Esc", "x":0, "y":0}, - {"label":"F1", "x":2, "y":0}, - {"label":"F2", "x":3, "y":0}, - {"label":"F3", "x":4, "y":0}, - {"label":"F4", "x":5, "y":0}, - {"label":"F5", "x":6.5, "y":0}, - {"label":"F6", "x":7.5, "y":0}, - - {"label":"F7", "x":10, "y":0}, - {"label":"F8", "x":11, "y":0}, - {"label":"F9", "x":12.5, "y":0}, - {"label":"F10", "x":13.5, "y":0}, - {"label":"F11", "x":14.5, "y":0}, - {"label":"F12", "x":15.5, "y":0}, - {"label":"Prt Sc", "x":17.5, "y":0}, - {"label":"Scr Lk", "x":18.5, "y":0}, - {"label":"Pause", "x":19.5, "y":0}, - - {"label":"F13", "x":0, "y":1.25}, - {"label":"~", "x":1.5, "y":1.25}, - {"label":"!", "x":2.5, "y":1.25}, - {"label":"@", "x":3.5, "y":1.25}, - {"label":"#", "x":4.5, "y":1.25}, - {"label":"$", "x":5.5, "y":1.25}, - {"label":"%", "x":6.5, "y":1.25}, - {"label":"^", "x":7.5, "y":1.25}, - - {"label":"&", "x":10, "y":1.25}, - {"label":"*", "x":11, "y":1.25}, - {"label":"(", "x":12, "y":1.25}, - {"label":")", "x":13, "y":1.25}, - {"label":"_", "x":14, "y":1.25}, - {"label":"+", "x":15, "y":1.25}, - {"label":"Del", "x":16, "y":1.25}, - {"label":"Bksp", "x":17, "y":1.25}, - {"label":"Ins", "x":18.5, "y":1.25}, - {"label":"Pg Up", "x":19.5, "y":1.25}, - - {"label":"F14", "x":0, "y":2.25}, - {"label":"Tab", "x":1.5, "y":2.25, "w":1.5}, - {"label":"Q", "x":3, "y":2.25}, - {"label":"W", "x":4, "y":2.25}, - {"label":"E", "x":5, "y":2.25}, - {"label":"R", "x":6, "y":2.25}, - {"label":"T", "x":7, "y":2.25}, - - {"label":"Y", "x":9.5, "y":2.25}, - {"label":"U", "x":10.5, "y":2.25}, - {"label":"I", "x":11.5, "y":2.25}, - {"label":"O", "x":12.5, "y":2.25}, - {"label":"P", "x":13.5, "y":2.25}, - {"label":"{", "x":14.5, "y":2.25}, - {"label":"}", "x":15.5, "y":2.25}, - {"label":"Del", "x":18.5, "y":2.25}, - {"label":"Pg Dn", "x":19.5, "y":2.25}, - - {"label":"F15", "x":0, "y":3.25}, - {"label":"Caps Lock", "x":1.5, "y":3.25, "w":1.75}, - {"label":"A", "x":3.25, "y":3.25}, - {"label":"S", "x":4.25, "y":3.25}, - {"label":"D", "x":5.25, "y":3.25}, - {"label":"F", "x":6.25, "y":3.25}, - {"label":"G", "x":7.25, "y":3.25}, - - {"label":"H", "x":9.75, "y":3.25}, - {"label":"J", "x":10.75, "y":3.25}, - {"label":"K", "x":11.75, "y":3.25}, - {"label":"L", "x":12.75, "y":3.25}, - {"label":":", "x":13.75, "y":3.25}, - {"label":"\"", "x":14.75, "y":3.25}, - {"label":"#", "x":15.75, "y":3.25}, - {"label":"Enter", "x":16.75, "y":2.25, "w":1.25, "h":2}, - {"label":"Home", "x":18.5, "y":3.25}, - {"label":"End", "x":19.5, "y":3.25}, - - {"label":"F16", "x":0, "y":4.25}, - {"label":"Shift", "x":1.5, "y":4.25, "w":1.25}, - {"label":"\\", "x":2.75, "y":4.25}, - {"label":"Z", "x":3.75, "y":4.25}, - {"label":"X", "x":4.75, "y":4.25}, - {"label":"C", "x":5.75, "y":4.25}, - {"label":"V", "x":6.75, "y":4.25}, - {"label":"B", "x":7.75, "y":4.25}, - {"label":"N", "x":10.25, "y":4.25}, - {"label":"M", "x":11.25, "y":4.25}, - {"label":"<", "x":12.25, "y":4.25}, - {"label":">", "x":13.25, "y":4.25}, - {"label":"?", "x":14.25, "y":4.25}, - {"label":"Shift", "x":15.25, "y":4.25, "w":1.75}, - {"label":"Up", "x":18.5, "y":4.25}, - - {"label":"F17", "x":0, "y":5.25}, - {"label":"Ctrl", "x":1.5, "y":5.25, "w":1.25}, - {"label":"Win", "x":2.75, "y":5.25}, - {"label":"Alt", "x":3.75, "y":5.25, "w":1.25}, - {"label":"Fn", "x":5, "y":5.25, "w":1.25}, - {"label":"Space", "x":6.25, "y":5.25}, - {"label":"Fn", "x":7.25, "y":5.25, "w":1.25}, - {"label":"Fn", "x":10, "y":5.25, "w":1.25}, - {"label":"Space", "x":11.25, "y":5.25, "w":2.25}, - {"label":"Alt", "x":13.5, "y":5.25, "w":1.25}, - {"label":"Win", "x":14.75, "y":5.25}, - {"label":"Ctrl", "x":15.75, "y":5.25, "w":1.25}, - {"label":"Left", "x":17.5, "y":5.25}, - {"label":"Down", "x":18.5, "y":5.25}, - {"label":"Right", "x":19.5, "y":5.25} + {"matrix": [5, 0], "x": 0, "y": 0}, + + {"matrix": [5, 3], "x": 2, "y": 0}, + {"matrix": [5, 4], "x": 3, "y": 0}, + {"matrix": [5, 5], "x": 4, "y": 0}, + {"matrix": [5, 6], "x": 5, "y": 0}, + + {"matrix": [5, 7], "x": 6.5, "y": 0}, + {"matrix": [5, 8], "x": 7.5, "y": 0}, + + {"matrix": [11, 0], "x": 10, "y": 0}, + {"matrix": [11, 1], "x": 11, "y": 0}, + + {"matrix": [11, 3], "x": 12.5, "y": 0}, + {"matrix": [11, 4], "x": 13.5, "y": 0}, + {"matrix": [11, 5], "x": 14.5, "y": 0}, + {"matrix": [11, 6], "x": 15.5, "y": 0}, + + {"matrix": [11, 7], "x": 17.5, "y": 0}, + {"matrix": [11, 8], "x": 18.5, "y": 0}, + {"matrix": [11, 9], "x": 19.5, "y": 0}, + + {"matrix": [0, 0], "x": 0, "y": 1.25}, + + {"matrix": [0, 2], "x": 1.5, "y": 1.25}, + {"matrix": [0, 3], "x": 2.5, "y": 1.25}, + {"matrix": [0, 4], "x": 3.5, "y": 1.25}, + {"matrix": [0, 5], "x": 4.5, "y": 1.25}, + {"matrix": [0, 6], "x": 5.5, "y": 1.25}, + {"matrix": [0, 7], "x": 6.5, "y": 1.25}, + {"matrix": [0, 8], "x": 7.5, "y": 1.25}, + + {"matrix": [6, 0], "x": 10, "y": 1.25}, + {"matrix": [6, 1], "x": 11, "y": 1.25}, + {"matrix": [6, 2], "x": 12, "y": 1.25}, + {"matrix": [6, 3], "x": 13, "y": 1.25}, + {"matrix": [6, 4], "x": 14, "y": 1.25}, + {"matrix": [6, 5], "x": 15, "y": 1.25}, + {"matrix": [6, 6], "x": 16, "y": 1.25}, + {"matrix": [6, 7], "x": 17, "y": 1.25}, + + {"matrix": [6, 8], "x": 18.5, "y": 1.25}, + {"matrix": [6, 9], "x": 19.5, "y": 1.25}, + + {"matrix": [1, 0], "x": 0, "y": 2.25}, + + {"matrix": [1, 2], "x": 1.5, "y": 2.25, "w": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 2.25}, + {"matrix": [1, 4], "x": 4, "y": 2.25}, + {"matrix": [1, 5], "x": 5, "y": 2.25}, + {"matrix": [1, 6], "x": 6, "y": 2.25}, + {"matrix": [1, 7], "x": 7, "y": 2.25}, + + {"matrix": [7, 0], "x": 9.5, "y": 2.25}, + {"matrix": [7, 1], "x": 10.5, "y": 2.25}, + {"matrix": [7, 2], "x": 11.5, "y": 2.25}, + {"matrix": [7, 3], "x": 12.5, "y": 2.25}, + {"matrix": [7, 4], "x": 13.5, "y": 2.25}, + {"matrix": [7, 5], "x": 14.5, "y": 2.25}, + {"matrix": [7, 6], "x": 15.5, "y": 2.25}, + + {"matrix": [7, 8], "x": 18.5, "y": 2.25}, + {"matrix": [7, 9], "x": 19.5, "y": 2.25}, + + {"matrix": [2, 0], "x": 0, "y": 3.25}, + + {"matrix": [2, 2], "x": 1.5, "y": 3.25, "w": 1.75}, + {"matrix": [2, 3], "x": 3.25, "y": 3.25}, + {"matrix": [2, 4], "x": 4.25, "y": 3.25}, + {"matrix": [2, 5], "x": 5.25, "y": 3.25}, + {"matrix": [2, 6], "x": 6.25, "y": 3.25}, + {"matrix": [2, 7], "x": 7.25, "y": 3.25}, + + {"matrix": [8, 0], "x": 9.75, "y": 3.25}, + {"matrix": [8, 1], "x": 10.75, "y": 3.25}, + {"matrix": [8, 2], "x": 11.75, "y": 3.25}, + {"matrix": [8, 3], "x": 12.75, "y": 3.25}, + {"matrix": [8, 4], "x": 13.75, "y": 3.25}, + {"matrix": [8, 5], "x": 14.75, "y": 3.25}, + {"matrix": [8, 6], "x": 15.75, "y": 3.25}, + {"matrix": [8, 7], "x": 16.75, "y": 2.25, "w": 1.25, "h": 2}, + + {"matrix": [8, 8], "x": 18.5, "y": 3.25}, + {"matrix": [8, 9], "x": 19.5, "y": 3.25}, + + {"matrix": [3, 0], "x": 0, "y": 4.25}, + + {"matrix": [3, 2], "x": 1.5, "y": 4.25, "w": 1.25}, + {"matrix": [3, 3], "x": 2.75, "y": 4.25}, + {"matrix": [3, 4], "x": 3.75, "y": 4.25}, + {"matrix": [3, 5], "x": 4.75, "y": 4.25}, + {"matrix": [3, 6], "x": 5.75, "y": 4.25}, + {"matrix": [3, 7], "x": 6.75, "y": 4.25}, + {"matrix": [3, 8], "x": 7.75, "y": 4.25}, + + {"matrix": [9, 0], "x": 10.25, "y": 4.25}, + {"matrix": [9, 1], "x": 11.25, "y": 4.25}, + {"matrix": [9, 2], "x": 12.25, "y": 4.25}, + {"matrix": [9, 3], "x": 13.25, "y": 4.25}, + {"matrix": [9, 4], "x": 14.25, "y": 4.25}, + {"matrix": [9, 6], "x": 15.25, "y": 4.25, "w": 1.75}, + + {"matrix": [9, 8], "x": 18.5, "y": 4.25}, + + {"matrix": [4, 0], "x": 0, "y": 5.25}, + + {"matrix": [4, 2], "x": 1.5, "y": 5.25, "w": 1.25}, + {"matrix": [4, 3], "x": 2.75, "y": 5.25}, + {"matrix": [4, 4], "x": 3.75, "y": 5.25, "w": 1.25}, + {"matrix": [4, 5], "x": 5, "y": 5.25, "w": 1.25}, + {"matrix": [4, 6], "x": 6.25, "y": 5.25}, + {"matrix": [4, 7], "x": 7.25, "y": 5.25, "w": 1.25}, + + {"matrix": [10, 0], "x": 10, "y": 5.25, "w": 1.25}, + {"matrix": [10, 1], "x": 11.25, "y": 5.25, "w": 2.25}, + {"matrix": [10, 2], "x": 13.5, "y": 5.25, "w": 1.25}, + {"matrix": [10, 3], "x": 14.75, "y": 5.25}, + {"matrix": [10, 6], "x": 15.75, "y": 5.25, "w": 1.25}, + + {"matrix": [10, 7], "x": 17.5, "y": 5.25}, + {"matrix": [10, 8], "x": 18.5, "y": 5.25}, + {"matrix": [10, 9], "x": 19.5, "y": 5.25} ] }, "LAYOUT_all": { "layout": [ - {"label":"Esc", "x":0, "y":0}, - {"label":"F1", "x":2, "y":0}, - {"label":"F2", "x":3, "y":0}, - {"label":"F3", "x":4, "y":0}, - {"label":"F4", "x":5, "y":0}, - {"label":"F5", "x":6.5, "y":0}, - {"label":"F6", "x":7.5, "y":0}, - - {"label":"F7", "x":10, "y":0}, - {"label":"F8", "x":11, "y":0}, - {"label":"F9", "x":12.5, "y":0}, - {"label":"F10", "x":13.5, "y":0}, - {"label":"F11", "x":14.5, "y":0}, - {"label":"F12", "x":15.5, "y":0}, - {"label":"Prt Sc", "x":17.5, "y":0}, - {"label":"Scr Lk", "x":18.5, "y":0}, - {"label":"Pause", "x":19.5, "y":0}, - - {"label":"F13", "x":0, "y":1.25}, - {"label":"~", "x":1.5, "y":1.25}, - {"label":"!", "x":2.5, "y":1.25}, - {"label":"@", "x":3.5, "y":1.25}, - {"label":"#", "x":4.5, "y":1.25}, - {"label":"$", "x":5.5, "y":1.25}, - {"label":"%", "x":6.5, "y":1.25}, - {"label":"^", "x":7.5, "y":1.25}, - - {"label":"&", "x":10, "y":1.25}, - {"label":"*", "x":11, "y":1.25}, - {"label":"(", "x":12, "y":1.25}, - {"label":")", "x":13, "y":1.25}, - {"label":"_", "x":14, "y":1.25}, - {"label":"+", "x":15, "y":1.25}, - {"label":"Del", "x":16, "y":1.25}, - {"label":"Bksp", "x":17, "y":1.25}, - {"label":"Ins", "x":18.5, "y":1.25}, - {"label":"Pg Up", "x":19.5, "y":1.25}, - - {"label":"F14", "x":0, "y":2.25}, - {"label":"Tab", "x":1.5, "y":2.25, "w":1.5}, - {"label":"Q", "x":3, "y":2.25}, - {"label":"W", "x":4, "y":2.25}, - {"label":"E", "x":5, "y":2.25}, - {"label":"R", "x":6, "y":2.25}, - {"label":"T", "x":7, "y":2.25}, - - {"label":"Y", "x":9.5, "y":2.25}, - {"label":"U", "x":10.5, "y":2.25}, - {"label":"I", "x":11.5, "y":2.25}, - {"label":"O", "x":12.5, "y":2.25}, - {"label":"P", "x":13.5, "y":2.25}, - {"label":"{", "x":14.5, "y":2.25}, - {"label":"}", "x":15.5, "y":2.25}, - {"label":"|", "x":16.5, "y":2.25, "w":1.5}, - {"label":"Del", "x":18.5, "y":2.25}, - {"label":"Pg Dn", "x":19.5, "y":2.25}, - - {"label":"F15", "x":0, "y":3.25}, - {"label":"Caps Lock", "x":1.5, "y":3.25, "w":1.75}, - {"label":"A", "x":3.25, "y":3.25}, - {"label":"S", "x":4.25, "y":3.25}, - {"label":"D", "x":5.25, "y":3.25}, - {"label":"F", "x":6.25, "y":3.25}, - {"label":"G", "x":7.25, "y":3.25}, - - {"label":"H", "x":9.75, "y":3.25}, - {"label":"J", "x":10.75, "y":3.25}, - {"label":"K", "x":11.75, "y":3.25}, - {"label":"L", "x":12.75, "y":3.25}, - {"label":":", "x":13.75, "y":3.25}, - {"label":"\"", "x":14.75, "y":3.25}, - {"label":"#", "x":15.75, "y":3.25}, - {"label":"Enter", "x":16.75, "y":3.25, "w":1.25}, - {"label":"Home", "x":18.5, "y":3.25}, - {"label":"End", "x":19.5, "y":3.25}, - - {"label":"F16", "x":0, "y":4.25}, - {"label":"Shift", "x":1.5, "y":4.25, "w":1.25}, - {"label":"\\", "x":2.75, "y":4.25}, - {"label":"Z", "x":3.75, "y":4.25}, - {"label":"X", "x":4.75, "y":4.25}, - {"label":"C", "x":5.75, "y":4.25}, - {"label":"V", "x":6.75, "y":4.25}, - {"label":"B", "x":7.75, "y":4.25}, - {"label":"N", "x":10.25, "y":4.25}, - {"label":"M", "x":11.25, "y":4.25}, - {"label":"<", "x":12.25, "y":4.25}, - {"label":">", "x":13.25, "y":4.25}, - {"label":"?", "x":14.25, "y":4.25}, - {"label":"Shift", "x":15.25, "y":4.25, "w":1.75}, - {"label":"Up", "x":18.5, "y":4.25}, - - {"label":"F17", "x":0, "y":5.25}, - {"label":"Ctrl", "x":1.5, "y":5.25, "w":1.25}, - {"label":"Win", "x":2.75, "y":5.25}, - {"label":"Alt", "x":3.75, "y":5.25, "w":1.25}, - {"label":"Fn", "x":5, "y":5.25, "w":1.25}, - {"label":"Space", "x":6.25, "y":5.25}, - {"label":"Fn", "x":7.25, "y":5.25, "w":1.25}, - {"label":"Fn", "x":10, "y":5.25, "w":1.25}, - {"label":"Space", "x":11.25, "y":5.25, "w":2.25}, - {"label":"Alt", "x":13.5, "y":5.25, "w":1.25}, - {"label":"Win", "x":14.75, "y":5.25}, - {"label":"Ctrl", "x":15.75, "y":5.25, "w":1.25}, - {"label":"Left", "x":17.5, "y":5.25}, - {"label":"Down", "x":18.5, "y":5.25}, - {"label":"Right", "x":19.5, "y":5.25} + {"matrix": [5, 0], "x": 0, "y": 0}, + + {"matrix": [5, 3], "x": 2, "y": 0}, + {"matrix": [5, 4], "x": 3, "y": 0}, + {"matrix": [5, 5], "x": 4, "y": 0}, + {"matrix": [5, 6], "x": 5, "y": 0}, + + {"matrix": [5, 7], "x": 6.5, "y": 0}, + {"matrix": [5, 8], "x": 7.5, "y": 0}, + + {"matrix": [11, 0], "x": 10, "y": 0}, + {"matrix": [11, 1], "x": 11, "y": 0}, + + {"matrix": [11, 3], "x": 12.5, "y": 0}, + {"matrix": [11, 4], "x": 13.5, "y": 0}, + {"matrix": [11, 5], "x": 14.5, "y": 0}, + {"matrix": [11, 6], "x": 15.5, "y": 0}, + + {"matrix": [11, 7], "x": 17.5, "y": 0}, + {"matrix": [11, 8], "x": 18.5, "y": 0}, + {"matrix": [11, 9], "x": 19.5, "y": 0}, + + {"matrix": [0, 0], "x": 0, "y": 1.25}, + + {"matrix": [0, 2], "x": 1.5, "y": 1.25}, + {"matrix": [0, 3], "x": 2.5, "y": 1.25}, + {"matrix": [0, 4], "x": 3.5, "y": 1.25}, + {"matrix": [0, 5], "x": 4.5, "y": 1.25}, + {"matrix": [0, 6], "x": 5.5, "y": 1.25}, + {"matrix": [0, 7], "x": 6.5, "y": 1.25}, + {"matrix": [0, 8], "x": 7.5, "y": 1.25}, + + {"matrix": [6, 0], "x": 10, "y": 1.25}, + {"matrix": [6, 1], "x": 11, "y": 1.25}, + {"matrix": [6, 2], "x": 12, "y": 1.25}, + {"matrix": [6, 3], "x": 13, "y": 1.25}, + {"matrix": [6, 4], "x": 14, "y": 1.25}, + {"matrix": [6, 5], "x": 15, "y": 1.25}, + {"matrix": [6, 6], "x": 16, "y": 1.25}, + {"matrix": [6, 7], "x": 17, "y": 1.25}, + + {"matrix": [6, 8], "x": 18.5, "y": 1.25}, + {"matrix": [6, 9], "x": 19.5, "y": 1.25}, + + {"matrix": [1, 0], "x": 0, "y": 2.25}, + + {"matrix": [1, 2], "x": 1.5, "y": 2.25, "w": 1.5}, + {"matrix": [1, 3], "x": 3, "y": 2.25}, + {"matrix": [1, 4], "x": 4, "y": 2.25}, + {"matrix": [1, 5], "x": 5, "y": 2.25}, + {"matrix": [1, 6], "x": 6, "y": 2.25}, + {"matrix": [1, 7], "x": 7, "y": 2.25}, + + {"matrix": [7, 0], "x": 9.5, "y": 2.25}, + {"matrix": [7, 1], "x": 10.5, "y": 2.25}, + {"matrix": [7, 2], "x": 11.5, "y": 2.25}, + {"matrix": [7, 3], "x": 12.5, "y": 2.25}, + {"matrix": [7, 4], "x": 13.5, "y": 2.25}, + {"matrix": [7, 5], "x": 14.5, "y": 2.25}, + {"matrix": [7, 6], "x": 15.5, "y": 2.25}, + {"matrix": [7, 7], "x": 16.5, "y": 2.25, "w": 1.5}, + + {"matrix": [7, 8], "x": 18.5, "y": 2.25}, + {"matrix": [7, 9], "x": 19.5, "y": 2.25}, + + {"matrix": [2, 0], "x": 0, "y": 3.25}, + + {"matrix": [2, 2], "x": 1.5, "y": 3.25, "w": 1.75}, + {"matrix": [2, 3], "x": 3.25, "y": 3.25}, + {"matrix": [2, 4], "x": 4.25, "y": 3.25}, + {"matrix": [2, 5], "x": 5.25, "y": 3.25}, + {"matrix": [2, 6], "x": 6.25, "y": 3.25}, + {"matrix": [2, 7], "x": 7.25, "y": 3.25}, + + {"matrix": [8, 0], "x": 9.75, "y": 3.25}, + {"matrix": [8, 1], "x": 10.75, "y": 3.25}, + {"matrix": [8, 2], "x": 11.75, "y": 3.25}, + {"matrix": [8, 3], "x": 12.75, "y": 3.25}, + {"matrix": [8, 4], "x": 13.75, "y": 3.25}, + {"matrix": [8, 5], "x": 14.75, "y": 3.25}, + {"matrix": [8, 6], "x": 15.75, "y": 3.25}, + {"matrix": [8, 7], "x": 16.75, "y": 3.25, "w": 1.25}, + + {"matrix": [8, 8], "x": 18.5, "y": 3.25}, + {"matrix": [8, 9], "x": 19.5, "y": 3.25}, + + {"matrix": [3, 0], "x": 0, "y": 4.25}, + + {"matrix": [3, 2], "x": 1.5, "y": 4.25, "w": 1.25}, + {"matrix": [3, 3], "x": 2.75, "y": 4.25}, + {"matrix": [3, 4], "x": 3.75, "y": 4.25}, + {"matrix": [3, 5], "x": 4.75, "y": 4.25}, + {"matrix": [3, 6], "x": 5.75, "y": 4.25}, + {"matrix": [3, 7], "x": 6.75, "y": 4.25}, + {"matrix": [3, 8], "x": 7.75, "y": 4.25}, + + {"matrix": [9, 0], "x": 10.25, "y": 4.25}, + {"matrix": [9, 1], "x": 11.25, "y": 4.25}, + {"matrix": [9, 2], "x": 12.25, "y": 4.25}, + {"matrix": [9, 3], "x": 13.25, "y": 4.25}, + {"matrix": [9, 4], "x": 14.25, "y": 4.25}, + {"matrix": [9, 6], "x": 15.25, "y": 4.25, "w": 1.75}, + + {"matrix": [9, 8], "x": 18.5, "y": 4.25}, + + {"matrix": [4, 0], "x": 0, "y": 5.25}, + + {"matrix": [4, 2], "x": 1.5, "y": 5.25, "w": 1.25}, + {"matrix": [4, 3], "x": 2.75, "y": 5.25}, + {"matrix": [4, 4], "x": 3.75, "y": 5.25, "w": 1.25}, + {"matrix": [4, 5], "x": 5, "y": 5.25, "w": 1.25}, + {"matrix": [4, 6], "x": 6.25, "y": 5.25}, + {"matrix": [4, 7], "x": 7.25, "y": 5.25, "w": 1.25}, + + {"matrix": [10, 0], "x": 10, "y": 5.25, "w": 1.25}, + {"matrix": [10, 1], "x": 11.25, "y": 5.25, "w": 2.25}, + {"matrix": [10, 2], "x": 13.5, "y": 5.25, "w": 1.25}, + {"matrix": [10, 3], "x": 14.75, "y": 5.25}, + {"matrix": [10, 6], "x": 15.75, "y": 5.25, "w": 1.25}, + + {"matrix": [10, 7], "x": 17.5, "y": 5.25}, + {"matrix": [10, 8], "x": 18.5, "y": 5.25}, + {"matrix": [10, 9], "x": 19.5, "y": 5.25} ] } } diff --git a/keyboards/keebio/kbo5000/rev1/rev1.c b/keyboards/keebio/kbo5000/rev1/rev1.c index 904c85242b..45443becbe 100644 --- a/keyboards/keebio/kbo5000/rev1/rev1.c +++ b/keyboards/keebio/kbo5000/rev1/rev1.c @@ -1,4 +1,4 @@ -#include "kbo5000.h" +#include "quantum.h" #include "split_util.h" void matrix_init_kb(void) { diff --git a/keyboards/keebio/kbo5000/rev1/rev1.h b/keyboards/keebio/kbo5000/rev1/rev1.h deleted file mode 100644 index 63239d3463..0000000000 --- a/keyboards/keebio/kbo5000/rev1/rev1.h +++ /dev/null @@ -1,73 +0,0 @@ -#pragma once - -#include "kbo5000.h" -#include "quantum.h" - -#define LAYOUT_ansi( \ - LF1, LF4, LF5, LF6, LF7, LF8, LF9, RF1, RF2, RF4, RF5, RF6, RF7, RF8, RF9, RF10, \ - LA1, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, RA10, \ - LB1, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, RB10, \ - LC1, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC8, RC9, RC10, \ - LD1, LD3, LD5, LD6, LD |