1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00
serenity/Kernel/Devices/HID
LepkoQQ 25f76ed771 Kernel: Fix shift sometimes staying pressed after releasing the key
Previous implementation sometimes didn't release the key after pressing
and holding shift due to repeating key updates when holding keys. This
meant repeating updates would set/unset `m_both_shift_keys_pressed`
repeatedly, sometimes resulting in shift still being considered pressed
even after you released it.

Simplify left and right shift key pressed logic by tracking both key
states separately and always updating modifiers based on them.
2021-08-30 22:35:51 +02:00
..
HIDDevice.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HIDManagement.cpp Everywhere: Replace AK::Singleton => Singleton 2021-08-08 00:03:45 +02:00
HIDManagement.h Kernel: Rename SpinLock => Spinlock 2021-08-22 03:34:10 +02:00
I8042Controller.cpp Kernel: Convert Processor::in_irq() to static current_in_irq() 2021-08-23 00:02:09 +02:00
I8042Controller.h Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
KeyboardDevice.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
KeyboardDevice.h Kernel: Fix shift sometimes staying pressed after releasing the key 2021-08-30 22:35:51 +02:00
MouseDevice.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
MouseDevice.h Kernel: Rename SpinLock => Spinlock 2021-08-22 03:34:10 +02:00
PS2KeyboardDevice.cpp Kernel: Fix shift sometimes staying pressed after releasing the key 2021-08-30 22:35:51 +02:00
PS2KeyboardDevice.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00
PS2MouseDevice.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
PS2MouseDevice.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00
VMWareMouseDevice.cpp Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
VMWareMouseDevice.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00