Update Keychron Q65

This commit is contained in:
lalalademaxiya1 2023-03-17 14:08:23 +08:00
parent 8ad06fdece
commit 93857017c5
5 changed files with 13 additions and 16 deletions

View File

@ -19,7 +19,7 @@
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = { const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to CKLED manual for these locations /* Refer to CKLED2001 manual for these locations
* driver * driver
* | R location * | R location
* | | G location * | | G location
@ -128,7 +128,7 @@ led_config_t g_led_config = {
1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 9, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 9, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1,
1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1,
1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 4, 4, 1, 1, 1,
} }
}; };

View File

@ -8,6 +8,11 @@
"pid": "0x01B1", "pid": "0x01B1",
"device_version": "1.0.3" "device_version": "1.0.3"
}, },
"matrix_pins": {
"cols": [null, null, null, null, null, null, null, null, "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1"],
"rows": ["B4", "B3", "A15", "A14", "A13"]
},
"diode_direction": "ROW2COL",
"encoder": { "encoder": {
"rotary": [ "rotary": [
{"pin_a": "A10", "pin_b": "A8"} {"pin_a": "A10", "pin_b": "A8"}

View File

@ -16,15 +16,6 @@
#pragma once #pragma once
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
/* key matrix pins */
#define MATRIX_ROW_PINS \
{ B4, B3, A15, A14, A13 }
#define MATRIX_COL_PINS \
{ NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, A2, A3, A4, A5, A6, A7, B0, B1 }
/* RGB Matrix Driver Configuration */ /* RGB Matrix Driver Configuration */
#define DRIVER_COUNT 2 #define DRIVER_COUNT 2
#define DRIVER_ADDR_1 0b1110111 #define DRIVER_ADDR_1 0b1110111

View File

@ -17,6 +17,5 @@
#pragma once #pragma once
#define HAL_USE_I2C TRUE #define HAL_USE_I2C TRUE
#define PAL_USE_CALLBACKS FALSE
#include_next <halconf.h> #include_next <halconf.h>

View File

@ -1,10 +1,12 @@
# Keychron Q65 # Keychron Q65
![Keychron Q65](https://i.imgur.com/5Cbb1C5.jpg[/img])
A customizable 65% keyboard. A customizable 65% keyboard.
* Keyboard Maintainer: [Keychron](https://github.com/keychron) * Keyboard Maintainer: [Keychron](https://github.com/keychron)
* Hardware Supported: Keychron Q65 * Hardware Supported: Keychron Q65
* Hardware Availability: [Keychron](https://www.keychron.com) * Hardware Availability: [KKeychron Q65 QMK Custom Mechanical Keyboardeychron](https://www.keychron.com/products/keychron-q65-qmk-custom-mechanical-keyboard)
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):