qmk-firmware/quantum
Denis Savran b1ceb4bb6a
Fix one-shot locked modifiers (#16114)
* Fix state updates of one-shot locked modifiers

Activating additional one-shot locked modifiers removed previously enabled locked modifiers from the state.
`get_oneshot_locked_mods` returned zero when two or more one-shot locked modifiers were enabled and then one was disabled.

* Do not delete one-shot locked modifiers on a one-shot layer toggle

Non-locked one-shot modifiers are not removed so this behavior adds inconsistency.
Also the one-shot locked modifiers state was reset without unregistering any modifiers.
2022-04-18 02:12:25 -07:00
..
audio Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
backlight Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
bootmagic Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
debounce Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
encoder/tests Asymmetric encoders, encoder tests. (#16068) 2022-03-08 16:58:05 +11:00
keymap_extras Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
led_matrix Merge remote-tracking branch 'upstream/master' into develop 2022-02-19 04:27:09 +11:00
logging Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
painter [QP] Check BPP capabilities before loading the palette (#16863) 2022-04-17 08:30:51 +10:00
process_keycode Add GET_TAPPING_TERM macro to reduce duplicate code (#16681) 2022-04-16 11:24:09 -07:00
rgb_matrix Heatmap incorrect matrix effect workaround (#16315) 2022-04-16 11:34:07 -07:00
rgblight Add customizable snake and knight animation increments (#16337) 2022-04-18 02:07:36 -07:00
sequencer Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
split_common Asymmetric encoders, encoder tests. (#16068) 2022-03-08 16:58:05 +11:00
action_code.h Rip out old macro and action_function system (#16025) 2022-01-24 21:22:20 +00:00
action_layer.c Missed some erroneous prints. (#16597) 2022-03-10 05:43:12 +11:00
action_layer.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_tapping.c Add GET_TAPPING_TERM macro to reduce duplicate code (#16681) 2022-04-16 11:24:09 -07:00
action_tapping.h Add GET_TAPPING_TERM macro to reduce duplicate code (#16681) 2022-04-16 11:24:09 -07:00
action_util.c Fix oneshot toggle logic (#16630) 2022-03-14 01:11:42 +00:00
action_util.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
action.c Fix one-shot locked modifiers (#16114) 2022-04-18 02:12:25 -07:00
action.h Format code according to conventions (#16421) 2022-02-21 08:29:54 -08:00
bitwise.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
bitwise.h Migrate some tmk_core files to quantum (#11791) 2021-02-07 23:16:15 +00:00
color.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
color.h fixed typo in orange HSV colors decalartion (#15976) 2022-01-22 06:12:14 +00:00
command.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
command.h Refactor quantum/command.{c,h} for code size & {read,maintain}ability (#11842) 2021-08-07 17:12:57 +10:00
config_common.h Remove deprecated KEYMAP alias (#15037) 2021-11-03 12:18:11 +11:00
crc.c Add CRC8 calculation subsystem to quantum (#12641) 2021-06-18 00:09:43 +01:00
crc.h Add CRC8 calculation subsystem to quantum (#12641) 2021-06-18 00:09:43 +01:00
debounce.h [Core] Remove matrix_is_modified() and debounce_is_active() (#15349) 2021-11-29 08:22:10 -08:00
deferred_exec.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
deferred_exec.h Advanced deferred_exec for core-side code. (#15579) 2022-01-10 18:26:46 +00:00
digitizer.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
digitizer.h Digitizer HID interface : absolute coordinates for mouse cursor (#12851) 2021-08-18 04:52:44 +10:00
dip_switch.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
dip_switch.h Convert Dip Switch callbacks to boolean functions (#13399) 2021-07-01 08:22:21 -07:00
dynamic_keymap.c Fix missing definition for non-encoder case. (#16593) 2022-03-09 21:06:33 +11:00
dynamic_keymap.h Add support for encoder mapping. (#13286) 2022-03-09 19:29:00 +11:00
dynamic_macro.h [Core] Convert Dynamic Macro to a Core Feature (#5948) 2019-11-04 22:59:13 -08:00
eeconfig.c Fix oneshot toggle logic (#16630) 2022-03-14 01:11:42 +00:00
eeconfig.h Fix oneshot toggle logic (#16630) 2022-03-14 01:11:42 +00:00
encoder.c Add support for encoder mapping. (#13286) 2022-03-09 19:29:00 +11:00
encoder.h Add support for encoder mapping. (#13286) 2022-03-09 19:29:00 +11:00
haptic.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
haptic.h haptic: Feature to disable it when usb port is not configured or suspended. (#12692) 2021-11-02 16:54:29 +11:00
joystick.c Joystick feature updates (#16732) 2022-03-26 18:38:09 +00:00
joystick.h Joystick feature updates (#16732) 2022-03-26 18:38:09 +00:00
keyboard.c Implement XAP 'secure' core requirements (#16843) 2022-04-16 11:13:05 -07:00
keyboard.h Rename TICK to TICK_EVENT to prevent naming conflicts (#16649) 2022-03-14 20:06:21 +00:00
keycode_config.c Basic keycode overhaul (#14726) 2021-11-03 22:22:17 -07:00
keycode_config.h Fix oneshot toggle logic (#16630) 2022-03-14 01:11:42 +00:00
keycode_legacy.h Basic keycode overhaul (#14726) 2021-11-03 22:22:17 -07:00
keycode.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
keymap_common.c Add support for encoder mapping. (#13286) 2022-03-09 19:29:00 +11:00
keymap.h Add support for encoder mapping. (#13286) 2022-03-09 19:29:00 +11:00
led_tables.c Remove unused LED_BREATHING_TABLE 2020-03-06 22:29:01 -08:00
led_tables.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
led.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
led.h Align location of some host led logic (#15954) 2022-01-22 21:17:02 +00:00
main.c Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
matrix_common.c Remove matrix_key_count() (#16603) 2022-03-10 12:18:07 +00:00
matrix.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
matrix.h Custom matrix lite support for split keyboards (#14674) 2021-12-27 21:03:40 +11:00
mousekey.c Mousekeys fix (#16640) 2022-03-13 18:53:53 -07:00
mousekey.h Adjust mouse key defaults (#15883) 2022-01-21 22:09:44 -08:00
pointing_device_drivers.c Add GET_TAPPING_TERM macro to reduce duplicate code (#16681) 2022-04-16 11:24:09 -07:00
pointing_device.c [Core] Move has_mouse_report_changed function to report.c (#16543) 2022-03-14 00:01:47 +00:00
pointing_device.h [Core] Move has_mouse_report_changed function to report.c (#16543) 2022-03-14 00:01:47 +00:00
programmable_button.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
programmable_button.h Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
quantum_keycodes_legacy.h Rename some Quantum keycodes (#15968) 2022-01-22 03:34:15 +00:00
quantum_keycodes.h Implement XAP 'secure' core requirements (#16843) 2022-04-16 11:13:05 -07:00
quantum.c Implement XAP 'secure' core requirements (#16843) 2022-04-16 11:13:05 -07:00
quantum.h Implement XAP 'secure' core requirements (#16843) 2022-04-16 11:13:05 -07:00
raw_hid.h Relocate protocol files within tmk_core/common/ (#14972) 2021-10-28 22:31:59 +01:00
ring_buffer.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
secure.c Implement XAP 'secure' core requirements (#16843) 2022-04-16 11:13:05 -07:00
secure.h Implement XAP 'secure' core requirements (#16843) 2022-04-16 11:13:05 -07:00
send_string_keycodes.h Workaround for recent changes to mouse keycodes (#12367) 2021-03-24 19:38:35 +00:00
send_string.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
send_string.h Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079) 2021-03-12 18:03:44 +11:00
sync_timer.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
sync_timer.h Relocate protocol files within tmk_core/common/ (#14972) 2021-10-28 22:31:59 +01:00
utf8.c Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
utf8.h Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
util.h Asymmetric encoders, encoder tests. (#16068) 2022-03-08 16:58:05 +11:00
variable_trace.c clang-format changes 2019-08-30 15:01:52 -07:00
variable_trace.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
velocikey.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
velocikey.h Change include guards in quantum/ to pragma once (#11239) 2020-12-26 15:53:12 +11:00
via_ensure_keycode.h Rename some Quantum keycodes (#15968) 2022-01-22 03:34:15 +00:00
via.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
via.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
virtser.h Relocate protocol files within tmk_core/common/ (#14972) 2021-10-28 22:31:59 +01:00
wpm.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
wpm.h Fixes potential wpm sampling overflow, along with code comment fixes (#15277) 2021-12-27 11:52:56 +11:00