Update q8 pro
This commit is contained in:
parent
49a82abb20
commit
d044197f76
8 changed files with 16 additions and 6 deletions
|
|
@ -21,6 +21,8 @@
|
||||||
# define DRIVER_COUNT 2
|
# define DRIVER_COUNT 2
|
||||||
# define DRIVER_ADDR_1 0b1110111
|
# define DRIVER_ADDR_1 0b1110111
|
||||||
# define DRIVER_ADDR_2 0b1110100
|
# define DRIVER_ADDR_2 0b1110100
|
||||||
|
|
||||||
|
/* RGB Matrix Configuration */
|
||||||
# define DRIVER_1_LED_TOTAL 29
|
# define DRIVER_1_LED_TOTAL 29
|
||||||
# define DRIVER_2_LED_TOTAL 39
|
# define DRIVER_2_LED_TOTAL 39
|
||||||
# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1 @@
|
||||||
ENCODER_MAP_ENABLE = yes
|
ENCODER_MAP_ENABLE = yes
|
||||||
OPT_DEFS += -DDYNAMIC_KEYMAP_LAYER_COUNT=5
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,2 @@
|
||||||
VIA_ENABLE = yes
|
VIA_ENABLE = yes
|
||||||
ENCODER_MAP_ENABLE = yes
|
ENCODER_MAP_ENABLE = yes
|
||||||
OPT_DEFS += -DDYNAMIC_KEYMAP_LAYER_COUNT=5
|
|
||||||
|
|
|
||||||
|
|
@ -57,5 +57,8 @@
|
||||||
"rotary": [
|
"rotary": [
|
||||||
{"pin_a": "A0", "pin_b": "A10"}
|
{"pin_a": "A0", "pin_b": "A10"}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"dynamic_keymap": {
|
||||||
|
"layer_count": 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,8 @@
|
||||||
# define DRIVER_COUNT 2
|
# define DRIVER_COUNT 2
|
||||||
# define DRIVER_ADDR_1 0b1110111
|
# define DRIVER_ADDR_1 0b1110111
|
||||||
# define DRIVER_ADDR_2 0b1110100
|
# define DRIVER_ADDR_2 0b1110100
|
||||||
|
|
||||||
|
/* RGB Matrix Configuration */
|
||||||
# define DRIVER_1_LED_TOTAL 29
|
# define DRIVER_1_LED_TOTAL 29
|
||||||
# define DRIVER_2_LED_TOTAL 40
|
# define DRIVER_2_LED_TOTAL 40
|
||||||
# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,2 @@
|
||||||
VIA_ENABLE = yes
|
VIA_ENABLE = yes
|
||||||
ENCODER_MAP_ENABLE = yes
|
ENCODER_MAP_ENABLE = yes
|
||||||
OPT_DEFS += -DDYNAMIC_KEYMAP_LAYER_COUNT=5
|
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||||
|
|
||||||
#if defined(KC_BLUETOOTH_ENABLE) && defined(ENCODER_ENABLE)
|
#if defined(KC_BLUETOOTH_ENABLE) && defined(ENCODER_ENABLE)
|
||||||
static void encoder_pad_cb(void *param) {
|
static void encoder_pad_cb(void *param) {
|
||||||
encoder_inerrupt_read((uint32_t)param & 0XFF);
|
encoder_inerrupt_read((uint32_t)param & 0xFF);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -312,3 +312,9 @@ void raw_hid_receive(uint8_t *data, uint8_t length) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void suspend_wakeup_init_kb(void) {
|
||||||
|
// code will run on keyboard wakeup
|
||||||
|
clear_keyboard();
|
||||||
|
send_keyboard_report();
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
# Keychron Q8 Pro
|
# Keychron Q8 Pro
|
||||||
|
|
||||||
![Keychron Q8 Pro]
|

|
||||||
|
|
||||||
A customizable 65% Alice keyboard.
|
A customizable 65% Alice keyboard.
|
||||||
|
|
||||||
* Keyboard Maintainer: [Keychron](https://github.com/keychron)
|
* Keyboard Maintainer: [Keychron](https://github.com/keychron)
|
||||||
* Hardware Supported: Keychron Q8 Pro
|
* Hardware Supported: Keychron Q8 Pro
|
||||||
* Hardware Availability:
|
* Hardware Availability:[Keychron Q8 Pro (Alice Layout) QMK/VIA Wireless Custom Mechanical Keyboard](https://www.keychron.com/products/keychron-q8-pro-alice-layout-qmk-via-wireless-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):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue