[Keyboard] Fix compiler errors for Kingly Key boards (#11100)
This commit is contained in:
parent
f03b10b6c1
commit
375ef0b8c3
@ -185,16 +185,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
|
||||
// Per-Key Tapping Term Definitions:
|
||||
uint16_t get_tapping_term(uint16_t keycode) {
|
||||
switch (keycode) {
|
||||
case TD(TD_DBQT):
|
||||
return 235;
|
||||
default:
|
||||
return TAPPING_TERM;
|
||||
}
|
||||
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case TD(TD_DBQT):
|
||||
return 235;
|
||||
default:
|
||||
return TAPPING_TERM;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Encoder Customization: (*Order-of-Keycode Specific)
|
||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) {
|
||||
|
@ -184,19 +184,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// )
|
||||
|
||||
|
||||
|
||||
// Per-Key Tapping Term Definitions:
|
||||
uint16_t get_tapping_term(uint16_t keycode) {
|
||||
switch (keycode) {
|
||||
case TD(TD_DBQT):
|
||||
return 235;
|
||||
default:
|
||||
return TAPPING_TERM;
|
||||
}
|
||||
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case TD(TD_DBQT):
|
||||
return 235;
|
||||
default:
|
||||
return TAPPING_TERM;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Encoder Customization: (*Order-of-Keycode Specific)
|
||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||
if (index == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user