Nicolas Fella
e3ad1fa04f
plugins/stickykeys: Disable when two keys are pressed
...
BUG: 464453
2024-07-25 14:22:17 +02:00
Nicolas Fella
19bf66c42a
plugins/stickykeys: Unlatch modifiers when locking
...
The state should be either latched or locked, not both
2024-07-17 13:13:40 +02:00
Nicolas Fella
85b5048e72
Test locking sticky keys for all modifiers
2024-07-17 10:58:49 +00:00
Nicolas Fella
65405c128e
Release key in sticky key test
...
Otherwise it's pressed the whole time, breaking subsequent tests
2024-07-17 10:58:49 +00:00
Nicolas Fella
6f750f0aa5
Fix typo in comments
2024-07-16 16:08:14 +02:00
Nicolas Fella
e14e4a1f8e
Fix comment in test
...
The intent is that the key is *not* locked
2024-07-10 09:35:31 +00:00
Nicolas Fella
463d77ec18
Fix sticky keys for AltGr
...
We map AltGr to Qt::GroupSwitchModifier, but then ignore it
Instead map it to Mod5, which for some reason xkbcommon doesn't expose a define for
Also, since the Qt modifiers enum doesn't map nicely to XKB modifiers introduce our own enum to avoid confusion
CCBUG: 444335
2024-07-10 09:35:31 +00:00
Nicolas Fella
d4127d07fd
Implement locking sticky keys on Wayland
...
When pressing a latched modifier a second time lock it
When pressing a locked modifier release it
BUG: 464452
2023-11-23 08:17:00 +00:00