[Keyboard] Fix compiler errors for Kingly Key boards (#11100)
This commit is contained in:
parent
f03b10b6c1
commit
375ef0b8c3
2 changed files with 45 additions and 49 deletions
|
@ -185,7 +185,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
||||||
// Per-Key Tapping Term Definitions:
|
// Per-Key Tapping Term Definitions:
|
||||||
uint16_t get_tapping_term(uint16_t keycode) {
|
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case TD(TD_DBQT):
|
case TD(TD_DBQT):
|
||||||
return 235;
|
return 235;
|
||||||
|
@ -194,7 +194,6 @@ uint16_t get_tapping_term(uint16_t keycode) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Encoder Customization: (*Order-of-Keycode Specific)
|
// Encoder Customization: (*Order-of-Keycode Specific)
|
||||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
|
|
|
@ -184,9 +184,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
// )
|
// )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Per-Key Tapping Term Definitions:
|
// Per-Key Tapping Term Definitions:
|
||||||
uint16_t get_tapping_term(uint16_t keycode) {
|
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case TD(TD_DBQT):
|
case TD(TD_DBQT):
|
||||||
return 235;
|
return 235;
|
||||||
|
@ -195,8 +194,6 @@ uint16_t get_tapping_term(uint16_t keycode) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Encoder Customization: (*Order-of-Keycode Specific)
|
// Encoder Customization: (*Order-of-Keycode Specific)
|
||||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
void encoder_update_user(uint8_t index, bool clockwise) {
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
|
|
Loading…
Reference in a new issue