diff options
Diffstat (limited to 'keyboards/kudox')
-rw-r--r-- | keyboards/kudox/columner/columner.c | 0 | ||||
-rw-r--r-- | keyboards/kudox/columner/config.h | 12 | ||||
-rw-r--r-- | keyboards/kudox/columner/info.json | 8 | ||||
-rw-r--r-- | keyboards/kudox/kudox.c | 16 | ||||
-rw-r--r-- | keyboards/kudox/kudox.h | 32 | ||||
-rw-r--r-- | keyboards/kudox/rev1/config.h | 12 | ||||
-rw-r--r-- | keyboards/kudox/rev1/info.json | 8 | ||||
-rw-r--r-- | keyboards/kudox/rev1/keymaps/jis/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/kudox/rev1/keymaps/x1/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/kudox/rev1/rev1.c | 1 | ||||
-rw-r--r-- | keyboards/kudox/rev1/rev1.h | 1 | ||||
-rw-r--r-- | keyboards/kudox/rev2/config.h | 12 | ||||
-rw-r--r-- | keyboards/kudox/rev2/info.json | 8 | ||||
-rw-r--r-- | keyboards/kudox/rev2/keymaps/jis/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/kudox/rev2/rev2.c | 0 | ||||
-rw-r--r-- | keyboards/kudox/rev3/config.h | 12 | ||||
-rw-r--r-- | keyboards/kudox/rev3/info.json | 8 | ||||
-rw-r--r-- | keyboards/kudox/rev3/rev3.c | 0 |
18 files changed, 32 insertions, 98 deletions
diff --git a/keyboards/kudox/columner/columner.c b/keyboards/kudox/columner/columner.c deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/kudox/columner/columner.c +++ /dev/null diff --git a/keyboards/kudox/columner/config.h b/keyboards/kudox/columner/config.h index 7a97d2c42d..7506090b1e 100644 --- a/keyboards/kudox/columner/config.h +++ b/keyboards/kudox/columner/config.h @@ -16,23 +16,11 @@ #pragma once - -// wiring of each half -#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 } -#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } -// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5} //uncomment this line and comment line above if you need to reverse left-to-right key order - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #undef RGBLED_NUM #define RGBLED_NUM 14 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kudox/columner/info.json b/keyboards/kudox/columner/info.json index ff34bd12e0..75d5c77bc8 100644 --- a/keyboards/kudox/columner/info.json +++ b/keyboards/kudox/columner/info.json @@ -8,9 +8,17 @@ "pid": "0x9691", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], + "rows": ["D4", "D7", "E6", "B4", "B5"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D0" }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/kudox/kudox.c b/keyboards/kudox/kudox.c deleted file mode 100644 index d7643747ad..0000000000 --- a/keyboards/kudox/kudox.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2019 Kumao Kobo <kumaokobo@gmail.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include "kudox.h" diff --git a/keyboards/kudox/kudox.h b/keyboards/kudox/kudox.h deleted file mode 100644 index ca61ea82d1..0000000000 --- a/keyboards/kudox/kudox.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright 2019 Kumao Kobo <kumaokobo@gmail.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#ifdef KEYBOARD_kudox_rev1 - #include "rev1.h" -#endif -#ifdef KEYBOARD_kudox_rev2 - #include "rev2.h" -#endif -#ifdef KEYBOARD_kudox_rev3 - #include "rev3.h" -#endif -#ifdef KEYBOARD_kudox_columner - #include "columner.h" -#endif - -#include "quantum.h" diff --git a/keyboards/kudox/rev1/config.h b/keyboards/kudox/rev1/config.h index 5b9e4b2bfd..80ac84c64f 100644 --- a/keyboards/kudox/rev1/config.h +++ b/keyboards/kudox/rev1/config.h @@ -16,23 +16,11 @@ #pragma once - -// wiring of each half -#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 } -#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } -// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5} //uncomment this line and comment line above if you need to reverse left-to-right key order - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #undef RGBLED_NUM #define RGBLED_NUM 14 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kudox/rev1/info.json b/keyboards/kudox/rev1/info.json index 918288d95e..c5a9427933 100644 --- a/keyboards/kudox/rev1/info.json +++ b/keyboards/kudox/rev1/info.json @@ -8,9 +8,17 @@ "pid": "0x9690", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], + "rows": ["D4", "D7", "E6", "B4", "B5"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D0" }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/kudox/rev1/keymaps/jis/rules.mk b/keyboards/kudox/rev1/keymaps/jis/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/kudox/rev1/keymaps/jis/rules.mk +++ /dev/null diff --git a/keyboards/kudox/rev1/keymaps/x1/rules.mk b/keyboards/kudox/rev1/keymaps/x1/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/kudox/rev1/keymaps/x1/rules.mk +++ /dev/null diff --git a/keyboards/kudox/rev1/rev1.c b/keyboards/kudox/rev1/rev1.c deleted file mode 100644 index abcdf4843e..0000000000 --- a/keyboards/kudox/rev1/rev1.c +++ /dev/null @@ -1 +0,0 @@ -#include "kudox.h" diff --git a/keyboards/kudox/rev1/rev1.h b/keyboards/kudox/rev1/rev1.h index 7a97cce699..82373daa6f 100644 --- a/keyboards/kudox/rev1/rev1.h +++ b/keyboards/kudox/rev1/rev1.h @@ -1,6 +1,5 @@ #pragma once -#include "kudox.h" #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/kudox/rev2/config.h b/keyboards/kudox/rev2/config.h index 5b9e4b2bfd..80ac84c64f 100644 --- a/keyboards/kudox/rev2/config.h +++ b/keyboards/kudox/rev2/config.h @@ -16,23 +16,11 @@ #pragma once - -// wiring of each half -#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 } -#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } -// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5} //uncomment this line and comment line above if you need to reverse left-to-right key order - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #undef RGBLED_NUM #define RGBLED_NUM 14 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kudox/rev2/info.json b/keyboards/kudox/rev2/info.json index 9d4a453413..858f28988d 100644 --- a/keyboards/kudox/rev2/info.json +++ b/keyboards/kudox/rev2/info.json @@ -8,9 +8,17 @@ "pid": "0x9690", "device_version": "2.0.0" }, + "matrix_pins": { + "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], + "rows": ["D4", "D7", "E6", "B4", "B5"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D0" }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/kudox/rev2/keymaps/jis/rules.mk b/keyboards/kudox/rev2/keymaps/jis/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/kudox/rev2/keymaps/jis/rules.mk +++ /dev/null diff --git a/keyboards/kudox/rev2/rev2.c b/keyboards/kudox/rev2/rev2.c deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/kudox/rev2/rev2.c +++ /dev/null diff --git a/keyboards/kudox/rev3/config.h b/keyboards/kudox/rev3/config.h index 7a97d2c42d..7506090b1e 100644 --- a/keyboards/kudox/rev3/config.h +++ b/keyboards/kudox/rev3/config.h @@ -16,23 +16,11 @@ #pragma once - -// wiring of each half -#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 } -#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } -// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5} //uncomment this line and comment line above if you need to reverse left-to-right key order - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #undef RGBLED_NUM #define RGBLED_NUM 14 // Number of LEDs #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kudox/rev3/info.json b/keyboards/kudox/rev3/info.json index 738321eb13..d3abd78b62 100644 --- a/keyboards/kudox/rev3/info.json +++ b/keyboards/kudox/rev3/info.json @@ -8,9 +8,17 @@ "pid": "0x9690", "device_version": "3.0.0" }, + "matrix_pins": { + "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], + "rows": ["D4", "D7", "E6", "B4", "B5"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D0" }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/kudox/rev3/rev3.c b/keyboards/kudox/rev3/rev3.c deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/kudox/rev3/rev3.c +++ /dev/null |