From 147d397e341c0ad5c9a075159ea434e82b2785cc Mon Sep 17 00:00:00 2001 From: adophoxia <100170946+adophoxia@users.noreply.github.com> Date: Mon, 3 Apr 2023 20:26:54 -0700 Subject: Move Keychron Q0 and Q0 Plus data-driven configuration; `keychron` keymap `rules.mk` cleanup (#20168) Co-authored-by: Nick Brassel --- keyboards/keychron/q0/rev_0130/info.json | 71 +++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) (limited to 'keyboards/keychron/q0/rev_0130/info.json') diff --git a/keyboards/keychron/q0/rev_0130/info.json b/keyboards/keychron/q0/rev_0130/info.json index acfd07e390..688c9da92e 100644 --- a/keyboards/keychron/q0/rev_0130/info.json +++ b/keyboards/keychron/q0/rev_0130/info.json @@ -6,15 +6,84 @@ "usb": { "vid": "0x3434", "pid": "0x0130", - "device_version": "1.0.2" + "device_version": "1.0.2", + "force_nkro": true }, "matrix_pins": { "cols": ["A5", "A6", "A7", "B0"], "rows": ["B5", "B4", "B3", "A15", "A14", "A13"] }, + "features": { + "audio": false, + "backlight": false, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true, + "rgblight": false + }, "diode_direction": "ROW2COL", "processor": "STM32L432", "bootloader": "stm32-dfu", + "rgb_matrix": { + "driver": "CKLED2001", + "animations": { + "band_spiral_val": true, + "breathing": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "jellybean_raindrops": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive_multiwide": true, + "solid_reactive_multinexus": true, + "splash": true, + "solid_splash": true + }, + "center_point": [56, 16], + "layout": [ + {"flags": 1,"matrix":[0,0], "x":0, "y":0}, + {"flags": 1,"matrix":[0,1], "x":37, "y":0}, + {"flags": 1,"matrix":[0,2], "x":75, "y":0}, + {"flags": 1,"matrix":[0,3], "x":112, "y":0}, + + + {"flags": 9,"matrix":[1,0], "x":0, "y":6}, + {"flags": 4,"matrix":[1,1], "x":37, "y":6}, + {"flags": 4,"matrix":[1,2], "x":75, "y":6}, + {"flags": 4,"matrix":[1,3], "x":112, "y":6}, + + {"flags": 4,"matrix":[2,0], "x":0, "y":13}, + {"flags": 4,"matrix":[2,1], "x":37, "y":13}, + {"flags": 4,"matrix":[2,2], "x":75, "y":13}, + + {"flags": 4,"matrix":[3,0], "x":0, "y":19}, + {"flags": 4,"matrix":[3,1], "x":37, "y":19}, + {"flags": 4,"matrix":[3,2], "x":75, "y":19}, + {"flags": 4,"matrix":[2,3], "x":112, "y":16}, + + {"flags": 4,"matrix":[4,0], "x":0, "y":25}, + {"flags": 4,"matrix":[4,1], "x":37, "y":25}, + {"flags": 4,"matrix":[4,2], "x":75, "y":25}, + + {"flags": 4,"matrix":[5,0], "x":18, "y":32}, + {"flags": 4,"matrix":[5,2], "x":75, "y":32}, + {"flags": 1,"matrix":[4,3], "x":112, "y":29} + ] + }, "layouts": { "LAYOUT_numpad_6x4": { "layout": [ -- cgit v1.2.3