summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k8_pro
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/k8_pro')
-rw-r--r--keyboards/keychron/k8_pro/ansi/rgb/config.h5
-rw-r--r--keyboards/keychron/k8_pro/ansi/rgb/info.json (renamed from keyboards/keychron/k8_pro/ansi/info.json)5
-rw-r--r--keyboards/keychron/k8_pro/ansi/white/config.h4
-rw-r--r--keyboards/keychron/k8_pro/ansi/white/info.json108
-rw-r--r--keyboards/keychron/k8_pro/config.h1
-rw-r--r--keyboards/keychron/k8_pro/halconf.h1
-rw-r--r--keyboards/keychron/k8_pro/iso/rgb/config.h4
-rw-r--r--keyboards/keychron/k8_pro/iso/rgb/info.json (renamed from keyboards/keychron/k8_pro/iso/info.json)5
-rw-r--r--keyboards/keychron/k8_pro/iso/white/config.h4
-rw-r--r--keyboards/keychron/k8_pro/iso/white/info.json109
10 files changed, 228 insertions, 18 deletions
diff --git a/keyboards/keychron/k8_pro/ansi/rgb/config.h b/keyboards/keychron/k8_pro/ansi/rgb/config.h
index b0ca2b1ef0..f6f92da294 100644
--- a/keyboards/keychron/k8_pro/ansi/rgb/config.h
+++ b/keyboards/keychron/k8_pro/ansi/rgb/config.h
@@ -14,10 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#define PRODUCT_ID 0x0280
-#define DEVICE_VER 0x0101
-
#ifdef RGB_MATRIX_ENABLE
/* RGB Matrix driver configuration */
# define DRIVER_COUNT 2
@@ -46,6 +42,7 @@
# define RGB_MATRIX_KEYPRESSES
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+
# define ENABLE_RGB_MATRIX_BREATHING
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
# define ENABLE_RGB_MATRIX_CYCLE_ALL
diff --git a/keyboards/keychron/k8_pro/ansi/info.json b/keyboards/keychron/k8_pro/ansi/rgb/info.json
index aa3824a88a..c01c3c1b1e 100644
--- a/keyboards/keychron/k8_pro/ansi/info.json
+++ b/keyboards/keychron/k8_pro/ansi/rgb/info.json
@@ -2,6 +2,11 @@
"keyboard_name": "Keychron K8 Pro",
"url": "https://github.com/Keychron",
"maintainer": "lokher",
+ "usb": {
+ "vid": "0x3434",
+ "pid": "0x0280",
+ "device_version": "1.0.0"
+ },
"layouts": {
"LAYOUT_ansi_87": {
"layout": [
diff --git a/keyboards/keychron/k8_pro/ansi/white/config.h b/keyboards/keychron/k8_pro/ansi/white/config.h
index 1c008bc0b5..3f2ed81a41 100644
--- a/keyboards/keychron/k8_pro/ansi/white/config.h
+++ b/keyboards/keychron/k8_pro/ansi/white/config.h
@@ -14,10 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#define PRODUCT_ID 0x0283
-#define DEVICE_VER 0x0101
-
#ifdef LED_MATRIX_ENABLE
/* LED matrix driver configuration */
# define DRIVER_COUNT 1
diff --git a/keyboards/keychron/k8_pro/ansi/white/info.json b/keyboards/keychron/k8_pro/ansi/white/info.json
new file mode 100644
index 0000000000..dab581a571
--- /dev/null
+++ b/keyboards/keychron/k8_pro/ansi/white/info.json
@@ -0,0 +1,108 @@
+{
+ "keyboard_name": "Keychron K8 Pro",
+ "url": "https://github.com/Keychron",
+ "maintainer": "lokher",
+ "usb": {
+ "vid": "0x3434",
+ "pid": "0x0283",
+ "device_version": "1.0.0"
+ },
+ "layouts": {
+ "LAYOUT_ansi_87": {
+ "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":"F5", "x":7.5, "y":0},
+ {"label":"F7", "x":8.5, "y":0},
+ {"label":"F8", "x":9.5, "y":0},
+ {"label":"F9", "x":11, "y":0},
+ {"label":"F10", "x":12, "y":0},
+ {"label":"F11", "x":13, "y":0},
+ {"label":"F12", "x":14, "y":0},
+ {"label":"Print", "x":15.25, "y":0},
+ {"label":"Cortana", "x":16.25, "y":0},
+ {"label":"Light", "x":17.25, "y":0},
+
+ {"label":"`~", "x":0, "y":1.25},
+ {"label":"1!", "x":1, "y":1.25},
+ {"label":"2@", "x":2, "y":1.25},
+ {"label":"3#", "x":3, "y":1.25},
+ {"label":"4$", "x":4, "y":1.25},
+ {"label":"5%", "x":5, "y":1.25},
+ {"label":"6^", "x":6, "y":1.25},
+ {"label":"7&", "x":7, "y":1.25},
+ {"label":"8*", "x":8, "y":1.25},
+ {"label":"9(", "x":9, "y":1.25},
+ {"label":"0)", "x":10, "y":1.25},
+ {"label":"-_", "x":11, "y":1.25},
+ {"label":"=+", "x":12, "y":1.25},
+ {"label":"Backspace", "x":13, "y":1.25, "w":2},
+ {"label":"Insert", "x":15.25, "y":1.25},
+ {"label":"Home", "x":16.25, "y":1.25},
+ {"label":"Page Up", "x":17.25, "y":1.25},
+
+ {"label":"Tab", "x":0, "y":2.25, "w":1.5},
+ {"label":"Q", "x":1.5, "y":2.25},
+ {"label":"W", "x":2.5, "y":2.25},
+ {"label":"E", "x":3.5, "y":2.25},
+ {"label":"R", "x":4.5, "y":2.25},
+ {"label":"T", "x":5.5, "y":2.25},
+ {"label":"Y", "x":6.5, "y":2.25},
+ {"label":"U", "x":7.5, "y":2.25},
+ {"label":"I", "x":8.5, "y":2.25},
+ {"label":"O", "x":9.5, "y":2.25},
+ {"label":"P", "x":10.5, "y":2.25},
+ {"label":"[{", "x":11.5, "y":2.25},
+ {"label":"]}", "x":12.5, "y":2.25},
+ {"label":"\\|", "x":13.5, "y":2.25, "w":1.5},
+ {"label":"Delete", "x":15.25, "y":2.25},
+ {"label":"End", "x":16.25, "y":2.25},
+ {"label":"Page Down", "x":17.25, "y":2.25},
+
+ {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75},
+ {"label":"A", "x":1.75, "y":3.25},
+ {"label":"S", "x":2.75, "y":3.25},
+ {"label":"D", "x":3.75, "y":3.25},
+ {"label":"F", "x":4.75, "y":3.25},
+ {"label":"G", "x":5.75, "y":3.25},
+ {"label":"H", "x":6.75, "y":3.25},
+ {"label":"J", "x":7.75, "y":3.25},
+ {"label":"K", "x":8.75, "y":3.25},
+ {"label":"L", "x":9.75, "y":3.25},
+ {"label":";:", "x":10.75, "y":3.25},
+ {"label":"'\"", "x":11.75, "y":3.25},
+ {"label":"Enter", "x":12.75, "y":3.25, "w":2.25},
+
+ {"label":"Left Shift", "x":0, "y":4.25, "w":2.25},
+ {"label":"Z", "x":2.25, "y":4.25},
+ {"label":"X", "x":3.25, "y":4.25},
+ {"label":"C", "x":4.25, "y":4.25},
+ {"label":"V", "x":5.25, "y":4.25},
+ {"label":"B", "x":6.25, "y":4.25},
+ {"label":"N", "x":7.25, "y":4.25},
+ {"label":"M", "x":8.25, "y":4.25},
+ {"label":",<", "x":9.25, "y":4.25},
+ {"label":".>", "x":10.25, "y":4.25},
+ {"label":"/?", "x":11.25, "y":4.25},
+ {"label":"Right Shift", "x":12.25, "y":4.25, "w":2.75},
+ {"label":"Up", "x":16.25, "y":4.25},
+
+ {"label":"Left Ctrl", "x":0, "y":5.25, "w":1.25},
+ {"label":"Left Win", "x":1.25, "y":5.25, "w":1.25},
+ {"label":"Left Alt", "x":2.5, "y":5.25, "w":1.25},
+ {"label":"Space", "x":3.75, "y":5.25, "w":6.25},
+ {"label":"Right Alt", "x":10, "y":5.25, "w":1.25},
+ {"label":"Right Win", "x":11.25, "y":5.25, "w":1.25},
+ {"label":"Fn", "x":12.5, "y":5.25, "w":1.25},
+ {"label":"Right Ctrl", "x":13.75, "y":5.25, "w":1.25},
+ {"label":"Left", "x":15.25, "y":5.25},
+ {"label":"Down", "x":16.25, "y":5.25},
+ {"label":"Right", "x":17.25, "y":5.25}
+ ]
+ }
+ }
+}
diff --git a/keyboards/keychron/k8_pro/config.h b/keyboards/keychron/k8_pro/config.h
index 3379c147b8..dbfe1d1bb4 100644
--- a/keyboards/keychron/k8_pro/config.h
+++ b/keyboards/keychron/k8_pro/config.h
@@ -17,7 +17,6 @@
#pragma once
/* USB Device descriptor parameter */
-#define VENDOR_ID 0x3434
#define MANUFACTURER Keychron
#define PRODUCT Keychron K8 Pro
diff --git a/keyboards/keychron/k8_pro/halconf.h b/keyboards/keychron/k8_pro/halconf.h
index 1a36798b0e..5c817659f8 100644
--- a/keyboards/keychron/k8_pro/halconf.h
+++ b/keyboards/keychron/k8_pro/halconf.h
@@ -24,4 +24,3 @@
#endif
#include_next <halconf.h>
-
diff --git a/keyboards/keychron/k8_pro/iso/rgb/config.h b/keyboards/keychron/k8_pro/iso/rgb/config.h
index e43c591dbe..6bbf1e3cbb 100644
--- a/keyboards/keychron/k8_pro/iso/rgb/config.h
+++ b/keyboards/keychron/k8_pro/iso/rgb/config.h
@@ -14,10 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#define PRODUCT_ID 0x0281
-#define DEVICE_VER 0x0101
-
#ifdef RGB_MATRIX_ENABLE
/* RGB Matrix driver configuration */
# define DRIVER_COUNT 2
diff --git a/keyboards/keychron/k8_pro/iso/info.json b/keyboards/keychron/k8_pro/iso/rgb/info.json
index d56bfe5533..8595f268f2 100644
--- a/keyboards/keychron/k8_pro/iso/info.json
+++ b/keyboards/keychron/k8_pro/iso/rgb/info.json
@@ -2,6 +2,11 @@
"keyboard_name": "Keychron K8 Pro",
"url": "https://github.com/Keychron",
"maintainer": "lokher",
+ "usb": {
+ "vid": "0x3434",
+ "pid": "0x0282",
+ "device_version": "1.0.0"
+ },
"layouts": {
"LAYOUT_iso_88": {
"layout": [
diff --git a/keyboards/keychron/k8_pro/iso/white/config.h b/keyboards/keychron/k8_pro/iso/white/config.h
index 99e93b6486..489307c5cd 100644
--- a/keyboards/keychron/k8_pro/iso/white/config.h
+++ b/keyboards/keychron/k8_pro/iso/white/config.h
@@ -14,10 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#define PRODUCT_ID 0x0284
-#define DEVICE_VER 0x0101
-
#ifdef LED_MATRIX_ENABLE
/* LED matrix driver configuration */
# define DRIVER_COUNT 1
diff --git a/keyboards/keychron/k8_pro/iso/white/info.json b/keyboards/keychron/k8_pro/iso/white/info.json
new file mode 100644
index 0000000000..d5e6d75f88
--- /dev/null
+++ b/keyboards/keychron/k8_pro/iso/white/info.json
@@ -0,0 +1,109 @@
+{
+ "keyboard_name": "Keychron K8 Pro",
+ "url": "https://github.com/Keychron",
+ "maintainer": "lokher",
+ "usb": {
+ "vid": "0x3434",
+ "pid": "0x0284",
+ "device_version": "1.0.0"
+ },
+ "layouts": {
+ "LAYOUT_iso_88": {
+ "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":"F5", "x":7.5, "y":0},
+ {"label":"F7", "x":8.5, "y":0},
+ {"label":"F8", "x":9.5, "y":0},
+ {"label":"F9", "x":11, "y":0},
+ {"label":"F10", "x":12, "y":0},
+ {"label":"F11", "x":13, "y":0},
+ {"label":"F12", "x":14, "y":0},
+ {"label":"Print", "x":15.25, "y":0},
+ {"label":"Cortana", "x":16.25, "y":0},
+ {"label":"Light", "x":17.25, "y":0},
+
+ {"label":"`~", "x":0, "y":1.25},
+ {"label":"1!", "x":1, "y":1.25},
+ {"label":"2@", "x":2, "y":1.25},
+ {"label":"3#", "x":3, "y":1.25},
+ {"label":"4$", "x":4, "y":1.25},
+ {"label":"5%", "x":5, "y":1.25},
+ {"label":"6^", "x":6, "y":1.25},
+ {"label":"7&", "x":7, "y":1.25},
+ {"label":"8*", "x":8, "y":1.25},
+ {"label":"9(", "x":9, "y":1.25},
+ {"label":"0)", "x":10, "y":1.25},
+ {"label":"-_", "x":11, "y":1.25},
+ {"label":"=+", "x":12, "y":1.25},
+ {"label":"Backspace", "x":13, "y":1.25, "w":2},
+ {"label":"Insert", "x":15.25, "y":1.25},
+ {"label":"Home", "x":16.25, "y":1.25},
+ {"label":"Page Up", "x":17.25, "y":1.25},
+
+ {"label":"Tab", "x":0, "y":2.25, "w":1.5},
+ {"label":"Q", "x":1.5, "y":2.25},
+ {"label":"W", "x":2.5, "y":2.25},
+ {"label":"E", "x":3.5, "y":2.25},
+ {"label":"R", "x":4.5, "y":2.25},
+ {"label":"T", "x":5.5, "y":2.25},
+ {"label":"Y", "x":6.5, "y":2.25},
+ {"label":"U", "x":7.5, "y":2.25},
+ {"label":"I", "x":8.5, "y":2.25},
+ {"label":"O", "x":9.5, "y":2.25},
+ {"label":"P", "x":10.5, "y":2.25},
+ {"label":"[{", "x":11.5, "y":2.25},
+ {"label":"]}", "x":12.5, "y":2.25},
+ {"label":"Delete", "x":15.25, "y":2.25},
+ {"label":"End", "x":16.25, "y":2.25},
+ {"label":"Page Down", "x":17.25, "y":2.25},
+
+ {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75},
+ {"label":"A", "x":1.75, "y":3.25},
+ {"label":"S", "x":2.75, "y":3.25},
+ {"label":"D", "x":3.75, "y":3.25},
+ {"label":"F", "x":4.75, "y":3.25},
+ {"label":"G", "x":5.75, "y":3.25},
+ {"label":"H", "x":6.75, "y":3.25},
+ {"label":"J", "x":7.75, "y":3.25},
+ {"label":"K", "x":8.75, "y":3.25},
+ {"label":"L", "x":9.75, "y":3.25},
+ {"label":";:", "x":10.75, "y":3.25},
+ {"label":"'\"", "x":11.75, "y":3.25},
+ {"label":"#~", "x":12.75, "y":3.25},
+ {"label":"Enter", "x":13.75, "y":2.25, "w":1.25, "h":2},
+
+ {"label":"Left Shift", "x":0, "y":4.25, "w":1.25},
+ {"label":"\\|", "x":1.25, "y":4.25},
+ {"label":"Z", "x":2.25, "y":4.25},
+ {"label":"X", "x":3.25, "y":4.25},
+ {"label":"C", "x":4.25, "y":4.25},
+ {"label":"V", "x":5.25, "y":4.25},
+ {"label":"B", "x":6.25, "y":4.25},
+ {"label":"N", "x":7.25, "y":4.25},
+ {"label":"M", "x":8.25, "y":4.25},
+ {"label":",<", "x":9.25, "y":4.25},
+ {"label":".>", "x":10.25, "y":4.25},
+ {"label":"/?", "x":11.25, "y":4.25},
+ {"label":"Right Shift", "x":12.25, "y":4.25, "w":2.75},
+ {"label":"Up", "x":16.25, "y":4.25},
+
+ {"label":"Left Ctrl", "x":0, "y":5.25, "w":1.25},
+ {"label":"Left Win", "x":1.25, "y":5.25, "w":1.25},
+ {"label":"Left Alt", "x":2.5, "y":5.25, "w":1.25},
+ {"label":"Space", "x":3.75, "y":5.25, "w":6.25},
+ {"label":"Right Alt", "x":10, "y":5.25, "w":1.25},
+ {"label":"Right Win", "x":11.25, "y":5.25, "w":1.25},
+ {"label":"Fn", "x":12.5, "y":5.25, "w":1.25},
+ {"label":"Right Ctrl", "x":13.75, "y":5.25, "w":1.25},
+ {"label":"Left", "x":15.25, "y":5.25},
+ {"label":"Down", "x":16.25, "y":5.25},
+ {"label":"Right", "x":17.25, "y":5.25}
+ ]
+ }
+ }
+}