mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 18:06:34 +06:00
Update keychron v4
This commit is contained in:
parent
62e3051b7d
commit
a1eafa35d2
|
@ -21,7 +21,7 @@
|
|||
// clang-format off
|
||||
|
||||
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
|
||||
* | R location
|
||||
* | | G location
|
||||
|
@ -119,7 +119,7 @@ led_config_t g_led_config = {
|
|||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 1, 1, 4, 1, 1, 1, 1,
|
||||
1, 1, 1, 4, 1, 4, 4, 1,
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x0340",
|
||||
"device_version": "1.0.4"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9"],
|
||||
"rows": ["B4", "B3", "A15", "A14", "A13"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"processor": "STM32L432",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -16,15 +16,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B4, B3, A15, A14, A13 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ C14, C15, A0, A1, A2, A3, A4, A5, A6, A7, B0, B1, A8, A9 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
/* RGB Matrix Driver Configuration */
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_ADDR_1 0b1110111
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x0342",
|
||||
"device_version": "1.0.3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C14", "C15", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "A8", "A9"],
|
||||
"rows": ["B4", "B3", "A15", "A14", "A13"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"processor": "STM32L432",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
// clang-format off
|
||||
|
||||
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
|
||||
* | R location
|
||||
* | | G location
|
||||
|
@ -120,7 +120,7 @@ led_config_t g_led_config = {
|
|||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
8, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
|
||||
1, 1, 1, 4, 1, 1, 1, 1,
|
||||
1, 1, 1, 4, 1, 4, 4, 1,
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
# Keychron V4
|
||||
|
||||
![Keychron V4](https://i.imgur.com/I8XYxlb.jpg[/img])
|
||||
|
||||
A customizable 60% keyboard.
|
||||
|
||||
* Keyboard Maintainer: [Keychron](https://github.com/keychron)
|
||||
* Hardware Supported: Keychron V4
|
||||
* Hardware Availability: [Keychron](https://www.keychron.com)
|
||||
* Hardware Availability: [Keychron V4 QMK Custom Mechanical Keyboard](https://www.keychron.com/products/keychron-v4-qmk-custom-mechanical-keyboard)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user