summaryrefslogtreecommitdiff
path: root/keyboards/kudox_full/rev1
diff options
context:
space:
mode:
authorx1 <viva008@gmail.com>2022-01-09 06:23:34 +0900
committerGitHub <noreply@github.com>2022-01-08 13:23:34 -0800
commita461f607e781a4698d41dddddb467be90835b36a (patch)
treefd0fb8fb6a1a3b48ee590840fdd377ba3f94377e /keyboards/kudox_full/rev1
parent4c080be8e8fd2d1a7a818022634b08c76ee92e40 (diff)
[Keyboard] Add Kudox Full (#15256)
* Add Kudox Full keyboard * Add keyboards/kudox_full SPDX identifier * Modify rule.mk of keyboards/kudox_full * Remove html code from README of keyboards/kudox_full * Modify readme of keyboards/kudox_full * rev1.c includes rev1.h - kudox-full/rev1 * Move to <keyboard>.c oled_task_user and eeconfig_init_user * Move post_config.h MOUSEKEY_* * Change BOOTMAGIC_ENABLE no kudox_full * Modify the obsoleted codes * Modify eeconfig_init_kb from eeconfig_init_user * Set none as default, but values * Add about the bootloader on kudox_full/readme * Modify the comments in keyboards/kudox_full/rules.mk
Diffstat (limited to 'keyboards/kudox_full/rev1')
-rw-r--r--keyboards/kudox_full/rev1/config.h77
-rw-r--r--keyboards/kudox_full/rev1/info.json83
-rw-r--r--keyboards/kudox_full/rev1/rev1.c4
-rw-r--r--keyboards/kudox_full/rev1/rev1.h26
-rw-r--r--keyboards/kudox_full/rev1/rules.mk1
5 files changed, 191 insertions, 0 deletions
diff --git a/keyboards/kudox_full/rev1/config.h b/keyboards/kudox_full/rev1/config.h
new file mode 100644
index 0000000000..46d680e442
--- /dev/null
+++ b/keyboards/kudox_full/rev1/config.h
@@ -0,0 +1,77 @@
+// Copyright 2021 Kumao Kobo (@kumaokobo)
+// SPDX-License-Identifier: GPL-2.0+
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xABBA
+#define PRODUCT_ID 0x9693
+#define DEVICE_VER 0x0100
+#define MANUFACTURER Kumao Kobo
+#define PRODUCT The Kudox Full Keyboard
+
+/* key matrix size */
+// Rows are doubled-up
+#define MATRIX_ROWS 10
+#define MATRIX_COLS 9
+
+// wiring of each half
+#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
+#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D4 }
+// #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
+
+/* define if matrix has ghost */
+//#define MATRIX_HAS_GHOST
+
+/* number of backlight levels */
+// #define BACKLIGHT_LEVELS 3
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/* serial.c configuration for split keyboard */
+#define SOFT_SERIAL_PIN D2
+
+/* 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
+#define RGBLIGHT_EFFECT_RAINBOW_MOOD
+#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+#define RGBLIGHT_EFFECT_SNAKE
+#define RGBLIGHT_EFFECT_KNIGHT
+#define RGBLIGHT_EFFECT_CHRISTMAS
+#define RGBLIGHT_EFFECT_STATIC_GRADIENT
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+// #define NO_DEBUG
+
+/* disable print */
+// #define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
diff --git a/keyboards/kudox_full/rev1/info.json b/keyboards/kudox_full/rev1/info.json
new file mode 100644
index 0000000000..7dfbf7c4e9
--- /dev/null
+++ b/keyboards/kudox_full/rev1/info.json
@@ -0,0 +1,83 @@
+{
+ "url": "http://kumaokobo.com/",
+ "maintainer": "Kumao Kobo",
+ "keyboard_name": "Kudox Full Keyboard Rev1",
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label":"Esc", "x":0, "y":0},
+ {"label":"1", "x":1, "y":0},
+ {"label":"2", "x":2, "y":0},
+ {"label":"3", "x":3, "y":0},
+ {"label":"4", "x":4, "y":0},
+ {"label":"5", "x":5, "y":0},
+ {"label":"6", "x":6, "y":0},
+ {"label":"6", "x":9, "y":0},
+ {"label":"7", "x":10, "y":0},
+ {"label":"8", "x":11, "y":0},
+ {"label":"9", "x":12, "y":0},
+ {"label":"0", "x":13, "y":0},
+ {"label":"-", "x":14, "y":0},
+ {"label":"=", "x":15, "y":0},
+ {"label":"\u2190", "x":16, "y":0},
+ {"label":"Del", "x":17, "y":0},
+ {"label":"Tab", "x":0, "y":1, "w":1.5},
+ {"label":"Q", "x":1.5, "y":1},
+ {"label":"W", "x":2.5, "y":1},
+ {"label":"E", "x":3.5, "y":1},
+ {"label":"R", "x":4.5, "y":1},
+ {"label":"T", "x":5.5, "y":1},
+ {"label":"`", "x":6.5, "y":1},
+ {"label":"Y", "x":9.5, "y":1},
+ {"label":"U", "x":10.5, "y":1},
+ {"label":"I", "x":11.5, "y":1},
+ {"label":"O", "x":12.5, "y":1},
+ {"label":"P", "x":13.5, "y":1},
+ {"label":"[", "x":14.5, "y":1},
+ {"label":"]", "x":15.5, "y":1},
+ {"label":"\\", "x":16.5, "y":1, "w":1.5},
+ {"label":"Ctrl", "x":0, "y":2, "w":1.75},
+ {"label":"A", "x":1.75, "y":2},
+ {"label":"S", "x":2.75, "y":2},
+ {"label":"D", "x":3.75, "y":2},
+ {"label":"F", "x":4.75, "y":2},
+ {"label":"G", "x":5.75, "y":2},
+ {"label":"H", "x":9.75, "y":2},
+ {"label":"J", "x":10.75, "y":2},
+ {"label":"K", "x":11.75, "y":2},
+ {"label":"L", "x":12.75, "y":2},
+ {"label":";", "x":13.75, "y":2},
+ {"label":"'", "x":14.75, "y":2},
+ {"label":"Enter", "x":15.75, "y":2},
+ {"label":"Enter", "x":17, "y":2},
+ {"label":"Shift", "x":0, "y":3, "w":2.25},
+ {"label":"Z", "x":2.25, "y":3},
+ {"label":"X", "x":3.25, "y":3},
+ {"label":"C", "x":4.25, "y":3},
+ {"label":"V", "x":5.25, "y":3},
+ {"label":"B", "x":6.25, "y":3},
+ {"label":"\u2191", "x":9.25, "y":3},
+ {"label":"N", "x":10.25, "y":3},
+ {"label":"M", "x":11.25, "y":3},
+ {"label":",", "x":12.25, "y":3},
+ {"label":".", "x":13.25, "y":3},
+ {"label":"/", "x":14.25, "y":3},
+ {"label":"Shift", "x":15.25, "y":3},
+ {"label":"Shift", "x":16.25, "y":3},
+ {"label":"\u2191", "x":17.5, "y":3},
+ {"label":"Alt", "x":0, "y":4, "w":1.25},
+ {"label":"Layer3", "x":1.5, "y":4},
+ {"label":"Layer2", "x":2.5, "y":4},
+ {"label":"Alt", "x":3.5, "y":4, "w":1.25},
+ {"label":"GUI", "x":5, "y":4, "w":1.25},
+ {"label":" ", "x":6.25, "y":4},
+ {"label":"\u2193", "x":9, "y":4},
+ {"label":"GUI", "x":10, "y":4},
+ {"label":"Alt", "x":11, "y":4, "w":1.25},
+ {"label":"\u2190", "x":16, "y":4},
+ {"label":"\u2193", "x":17, "y":4},
+ {"label":"\u2192", "x":18, "y":4}
+ ]
+ }
+ }
+}
diff --git a/keyboards/kudox_full/rev1/rev1.c b/keyboards/kudox_full/rev1/rev1.c
new file mode 100644
index 0000000000..8dfb941ba2
--- /dev/null
+++ b/keyboards/kudox_full/rev1/rev1.c
@@ -0,0 +1,4 @@
+// Copyright 2021 Kumao Kobo (@kumaokobo)
+// SPDX-License-Identifier: GPL-2.0+
+
+#include "rev1.h"
diff --git a/keyboards/kudox_full/rev1/rev1.h b/keyboards/kudox_full/rev1/rev1.h
new file mode 100644
index 0000000000..686941117e
--- /dev/null
+++ b/keyboards/kudox_full/rev1/rev1.h
@@ -0,0 +1,26 @@
+// Copyright 2021 Kumao Kobo (@kumaokobo)
+// SPDX-License-Identifier: GPL-2.0+
+
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, R07, R08, \
+ L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, R17, \
+ L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, R26, R27, \
+ L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, R36, R37, R38, \
+ L40, L41, L42, L43, L44, L45, R40, R41, R42, R46, R47, R48 \
+) \
+{ \
+ { L00, L01, L02, L03, L04, L05, L06 }, \
+ { L10, L11, L12, L13, L14, L15, L16 }, \
+ { L20, L21, L22, L23, L24, L25 }, \
+ { L30, L31, L32, L33, L34, L35 }, \
+ { L40, L41, L42, L43, L44, L45 }, \
+ { R00, R01, R02, R03, R04, R05, R06, R07, R08 }, \
+ { R10, R11, R12, R13, R14, R15, R16, R17 }, \
+ { R20, R21, R22, R23, R24, R25, R26, R27 }, \
+ { R30, R31, R32, R33, R34, R35, R36, R37, R38 }, \
+ { R40, R41, R42, KC_NO, KC_NO, KC_NO, R46, R47, R48 } \
+}
diff --git a/keyboards/kudox_full/rev1/rules.mk b/keyboards/kudox_full/rev1/rules.mk
new file mode 100644
index 0000000000..dd68e9d3b0
--- /dev/null
+++ b/keyboards/kudox_full/rev1/rules.mk
@@ -0,0 +1 @@
+OLED_ENABLE = yes