You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, try to press the "2" key on the numpad with num lock turned on and off. Regardless of whether it's on or off, the notification is alwayskp_down. What's particularly weird is that wev produces the correct key codes for the events (here pressing "2" with numlock off, then turning on numlock, then pressing "2", then turning numlock off, then pressing "2"):
So I'm not entirely sure how Hyprland gets confused here.
I have noticed that the numlock LED sometimes changes somewhat randomly in Hyprland when I press numpad keys combined with modifiers. For example, if you don't have a keybind for SUPER + KP_9, and have num lock turned off, then pressing SUPER + the 9 key on the numpad will turn num lock on for as long as SUPER is held down. Which feels wrong.
The text was updated successfully, but these errors were encountered:
Looking at https://wiki.hyprland.org/Configuring/Variables/#variable-types, numlock isn't among the valid MODs, so unless I'm mistaken this means it's not possible currently to bind numeric numpad keys. Including through something like pass, which means they can't be forwarded to other applications either.
9999999It appears that Hyprland is only able to bind against the non-numlocked variants of a numpad.
To reproduce, add the following to a Hyprland config:
Then, try to press the "2" key on the numpad with num lock turned on and off. Regardless of whether it's on or off, the notification is always
kp_down
. What's particularly weird is thatwev
produces the correct key codes for the events (here pressing "2" with numlock off, then turning on numlock, then pressing "2", then turning numlock off, then pressing "2"):So I'm not entirely sure how Hyprland gets confused here.
I have noticed that the numlock LED sometimes changes somewhat randomly in Hyprland when I press numpad keys combined with modifiers. For example, if you don't have a keybind for SUPER + KP_9, and have num lock turned off, then pressing SUPER + the 9 key on the numpad will turn num lock on for as long as SUPER is held down. Which feels wrong.
The text was updated successfully, but these errors were encountered: