forked from mirrors/qmk_userspace
[Core] Refactor keyevent_t
for 1ms timing resolution (#15847)
This commit is contained in:
parent
2d9140af53
commit
fcf8b804ed
49 changed files with 360 additions and 273 deletions
|
@ -173,13 +173,13 @@ bool process_steno(uint16_t keycode, keyrecord_t *record) {
|
|||
switch (keycode) {
|
||||
#ifdef STENO_ENABLE_ALL
|
||||
case QK_STENO_BOLT:
|
||||
if (IS_PRESSED(record->event)) {
|
||||
if (record->event.pressed) {
|
||||
steno_set_mode(STENO_MODE_BOLT);
|
||||
}
|
||||
return false;
|
||||
|
||||
case QK_STENO_GEMINI:
|
||||
if (IS_PRESSED(record->event)) {
|
||||
if (record->event.pressed) {
|
||||
steno_set_mode(STENO_MODE_GEMINI);
|
||||
}
|
||||
return false;
|
||||
|
@ -193,7 +193,7 @@ bool process_steno(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
#endif // STENO_COMBINEDMAP
|
||||
case STN__MIN ... STN__MAX:
|
||||
if (IS_PRESSED(record->event)) {
|
||||
if (record->event.pressed) {
|
||||
n_pressed_keys++;
|
||||
switch (mode) {
|
||||
#ifdef STENO_ENABLE_BOLT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue