mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-27 21:50:12 +00:00
Allow the "00" keypad key to act like a repeating 0 when held down.
This commit is contained in:
parent
d3bc854ddf
commit
6dc48384f3
File diff suppressed because it is too large
Load Diff
@ -169,7 +169,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|||||||
switch(id) {
|
switch(id) {
|
||||||
case KP_00:
|
case KP_00:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
return MACRO( D(KP_0), U(KP_0), D(KP_0), U(KP_0), END );
|
return MACRO( D(KP_0), U(KP_0), D(KP_0), END );
|
||||||
|
} else {
|
||||||
|
return MACRO( U(KP_0), END );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user