diff options
| -rw-r--r-- | tmk_core/common/action.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index fff834791..f7c039f45 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c | |||
| @@ -258,10 +258,10 @@ void process_action(keyrecord_t *record, action_t action) | |||
| 258 | if (event.pressed) { | 258 | if (event.pressed) { |
| 259 | if (tap_count == 0) { | 259 | if (tap_count == 0) { |
| 260 | dprint("MODS_TAP: Oneshot: 0\n"); | 260 | dprint("MODS_TAP: Oneshot: 0\n"); |
| 261 | register_mods(mods); | 261 | register_mods(mods | get_oneshot_mods()); |
| 262 | } else if (tap_count == 1) { | 262 | } else if (tap_count == 1) { |
| 263 | dprint("MODS_TAP: Oneshot: start\n"); | 263 | dprint("MODS_TAP: Oneshot: start\n"); |
| 264 | set_oneshot_mods(mods); | 264 | set_oneshot_mods(mods | get_oneshot_mods()); |
| 265 | #if defined(ONESHOT_TAP_TOGGLE) && ONESHOT_TAP_TOGGLE > 1 | 265 | #if defined(ONESHOT_TAP_TOGGLE) && ONESHOT_TAP_TOGGLE > 1 |
| 266 | } else if (tap_count == ONESHOT_TAP_TOGGLE) { | 266 | } else if (tap_count == ONESHOT_TAP_TOGGLE) { |
| 267 | dprint("MODS_TAP: Toggling oneshot"); | 267 | dprint("MODS_TAP: Toggling oneshot"); |
| @@ -270,7 +270,7 @@ void process_action(keyrecord_t *record, action_t action) | |||
| 270 | register_mods(mods); | 270 | register_mods(mods); |
| 271 | #endif | 271 | #endif |
| 272 | } else { | 272 | } else { |
| 273 | register_mods(mods); | 273 | register_mods(mods | get_oneshot_mods()); |
| 274 | } | 274 | } |
| 275 | } else { | 275 | } else { |
| 276 | if (tap_count == 0) { | 276 | if (tap_count == 0) { |
