Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Keychron Q0 #22068

Merged
merged 20 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
34001a7
Redo Q0 Update
adophoxia Sep 19, 2023
91e94c9
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 19, 2023
3068065
Update keyboards/keychron/q0/rev_0131/config.h
adophoxia Sep 19, 2023
b29ba46
Remove `"features":` from `q0/rev_0131/info.json`
adophoxia Sep 19, 2023
c742258
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 20, 2023
86d2487
Merge branch 'keychron-q0-update-redo' of https://github.com/adophoxi…
adophoxia Sep 20, 2023
bc5da56
Update keyboards/keychron/q0/rev_0131/readme.md
adophoxia Sep 20, 2023
ec9342f
Update keyboards/keychron/q0/readme.md
adophoxia Sep 20, 2023
13b5da5
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 22, 2023
d73ac96
Merge branch 'keychron-q0-update-redo' of https://github.com/adophoxi…
adophoxia Sep 22, 2023
6060f89
Move `ENCODER_DEFAULT_POS` to `q0/rev_0131/config.h`
adophoxia Sep 22, 2023
d11da61
Rename variant folders; add community layout support
adophoxia Sep 22, 2023
d5b2aa3
Update readme.md
adophoxia Sep 22, 2023
a33bd21
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 22, 2023
07029f1
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 25, 2023
fe335d2
Change `non_plus` to `base` and update `q0/plus/readme.md`
adophoxia Sep 25, 2023
17fd961
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Sep 30, 2023
74dcf98
Add alias to `keyboard_aliases.hjson`
adophoxia Sep 30, 2023
892c0d0
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into ke…
adophoxia Oct 5, 2023
3796758
Change ckled2001 to snled27351
adophoxia Oct 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions data/mappings/keyboard_aliases.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,9 @@
"kelowna/rgb64": {
"target": "weirdo/kelowna/rgb64"
},
"keychron/q0": {
"target": "keychron/q0/base"
},
"keychron/q1": {
"target": "keychron/q1v1"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND

/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 21
#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
#define RGB_MATRIX_LED_COUNT 21

/* Enable num-lock LED */
#define NUM_LOCK_LED_INDEX 4
Original file line number Diff line number Diff line change
@@ -1,58 +1,14 @@
{
"keyboard_name": "Q0",
"manufacturer": "Keychron",
"url": "https://github.com/Keychron",
"maintainer": "lalalademaxiya1",
"usb": {
"vid": "0x3434",
"pid": "0x0130",
"device_version": "1.0.2",
"force_nkro": true
"device_version": "1.0.2"
},
"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": "snled27351",
"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},
Expand Down Expand Up @@ -83,6 +39,7 @@
{"flags": 1, "matrix": [4, 3], "x": 112, "y": 29}
]
},
"community_layouts": ["numpad_6x4"],
"layouts": {
"LAYOUT_numpad_6x4": {
"layout": [
Expand Down
1 change: 1 addition & 0 deletions keyboards/keychron/q0/base/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
4 changes: 0 additions & 4 deletions keyboards/keychron/q0/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,5 @@
/* turn off effects when suspended */
#define RGB_DISABLE_WHEN_USB_SUSPENDED

/* EEPROM Driver Configuration */
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)

#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
52 changes: 52 additions & 0 deletions keyboards/keychron/q0/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"manufacturer": "Keychron",
"maintainer": "lalalademaxiya1",
"bootloader": "stm32-dfu",
"diode_direction": "ROW2COL",
"eeprom": {
"wear_leveling": {
"backing_size": 4096
}
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true
},
"processor": "STM32L432",
"rgb_matrix": {
"animations": {
"band_spiral_val": true,
"breathing": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"cycle_up_down": true,
"digital_rain": true,
"dual_beacon": true,
"jellybean_raindrops": true,
"pixel_rain": true,
"rainbow_beacon": true,
"rainbow_moving_chevron": true,
"solid_reactive_multinexus": true,
"solid_reactive_multiwide": true,
"solid_reactive_simple": true,
"solid_splash": true,
"splash": true,
"typing_heatmap": true
},
"driver": "snled27351"
},
"url": "https://github.com/Keychron",
"usb": {
"force_nkro": true,
"vid": "0x3434"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_VDDIO

/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 26
#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
#define RGB_MATRIX_LED_COUNT 26

#define SNLED27351_PHASE_CHANNEL SNLED27351_MSKPHASE_9CHANNEL

/* Encoder Configuration*/
#define ENCODER_DEFAULT_POS 0x3

/* Enable num-lock LED */
#define NUM_LOCK_LED_INDEX 5

/* Encoder Configuration */
#define ENCODER_DEFAULT_POS 0x3
Original file line number Diff line number Diff line change
@@ -1,67 +1,23 @@
{
"keyboard_name": "Keychron Q0 Plus",
"manufacturer": "Keychron",
"url": "https://github.com/Keychron",
"maintainer": "lalalademaxiya1",
"usb": {
"vid": "0x3434",
"pid": "0x0131",
"device_version": "1.0.0",
"force_nkro": true
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["C14", "C15", "A0", "A1", "A2"],
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"]
},
"features": {
"audio": false,
"backlight": false,
"bootmagic": true,
"command": false,
"console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgb_matrix": true,
"rgblight": false
},
"diode_direction": "ROW2COL",
"encoder": {
"enabled": true,
"rotary": [
{"pin_a": "A3", "pin_b": "A4"}
]
},
"bootmagic": {
"matrix": [0, 1]
},
"processor": "STM32L432",
"bootloader": "stm32-dfu",
"rgb_matrix": {
"driver": "snled27351",
"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
},
"layout": [
{"flags": 1, "matrix": [0, 1], "x": 56, "y": 0},
{"flags": 1, "matrix": [0, 2], "x": 112, "y": 0},
Expand Down Expand Up @@ -96,6 +52,7 @@
{"flags": 1, "matrix": [5, 3], "x": 168, "y": 64}
]
},
"community_layouts": ["numpad_6x5"],
"layouts": {
"LAYOUT_numpad_6x5": {
"layout": [
Expand Down
12 changes: 12 additions & 0 deletions keyboards/keychron/q0/plus/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Keychron Q0 Plus

![Keychron Q0 Plus](https://i.imgur.com/EDbfVVOh.jpg)

* Keyboard Maintainer: [Keychron](https://github.com/keychron)
* Hardware Supported: Keychron Q0 Plus
* Hardware Availability: [Keychron Q0 Plus QMK Custom Number Pad](https://www.keychron.com/products/keychron-q0-plus-qmk-custom-number-pad)

1. The name of this keyboard is "Keychron Q0 Plus"
2. Enables EC11 rotary encoder
- Turn clockwise to increase volume and turn anti-clockwise to decrease volume
- Press the knob button to mute
1 change: 1 addition & 0 deletions keyboards/keychron/q0/plus/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
10 changes: 7 additions & 3 deletions keyboards/keychron/q0/readme.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
# Keychron Q0

![Keychron Q0](https://i.imgur.com/cLbEiZ0h.jpg)

A customizable number keypad.

* Keyboard Maintainer: [Keychron](https://github.com/keychron)
* Hardware Supported: Keychron Q0
* Hardware Availability: [Keychron](https://www.keychron.com)
* Hardware Availability: [Keychron Q0 QMK Custom Number Pad](https://www.keychron.com/products/keychron-q0-qmk-custom-number-pad)

Make example for this keyboard (after setting up your build environment):

make keychron/q0/rev_0130:default
make keychron/q0/base:default
make keychron/q0/plus:default

Flashing example for this keyboard:

make keychron/q0/rev_0130:default:flash
make keychron/q0/base:default:flash
make keychron/q0/plus:default:flash

**Reset Key**: Hold down the key located at *K00*, commonly programmed as *Esc* while plugging in the keyboard.

Expand Down
1 change: 0 additions & 1 deletion keyboards/keychron/q0/rev_0130/rules.mk

This file was deleted.

6 changes: 0 additions & 6 deletions keyboards/keychron/q0/rev_0131/readme.md

This file was deleted.

1 change: 0 additions & 1 deletion keyboards/keychron/q0/rev_0131/rules.mk

This file was deleted.