mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 10:44:59 +06:00
Update q8.
This commit is contained in:
parent
789bfa0dbf
commit
a6273e40c2
@ -25,8 +25,8 @@
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
|
||||
/* Encoder used pins */
|
||||
#define ENCODERS_PAD_A { B5 }
|
||||
#define ENCODERS_PAD_B { B4 }
|
||||
#define ENCODERS_PAD_A { B4 }
|
||||
#define ENCODERS_PAD_B { B5 }
|
||||
|
||||
/* Specifies the number of pulses the encoder registers between each detent */
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
@ -75,6 +75,7 @@ const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL] = {
|
||||
{0, F_10, D_10, E_10},
|
||||
{0, F_6, D_6, E_6},
|
||||
{0, F_5, D_5, E_5},
|
||||
{0, F_4, D_4, E_4},
|
||||
{0, F_3, D_3, E_3},
|
||||
{0, F_2, D_2, E_2},
|
||||
{0, C_4, A_4, B_4}
|
||||
|
@ -49,7 +49,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||
return true;
|
||||
|
||||
case KC_J:
|
||||
case KC_Z:
|
||||
case RGB_RMOD:
|
||||
if (key_count_flag && record->event.pressed) {
|
||||
key_count += 1;
|
||||
if(key_count == 3) {
|
||||
|
Loading…
Reference in New Issue
Block a user