Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XF86TouchpadToggle media key is not consistently detected #8439

Open
gdeoliveira opened this issue Nov 9, 2024 · 0 comments
Open

XF86TouchpadToggle media key is not consistently detected #8439

gdeoliveira opened this issue Nov 9, 2024 · 0 comments
Labels
bug Not working as intended

Comments

@gdeoliveira
Copy link

gdeoliveira commented Nov 9, 2024

bindsym XF86TouchpadToggle input type:touchpad events toggle enabled disabled
  • Description:
    Unlike all the other media keys I have set up in my configuration file, the XF86TouchpadToggle key presses are being ignored for what seems like an arbitrary number of presses. These can go from just a couple of key presses until the desired action is executed to well over 10 key presses. The problem is also present when binding the key by keycode.
    I know that the physical key is working correctly because wev is consistently picking it up, although it seems to have quite a bit of extra output for it compared to most of my other media keys:
[08:         wl_seat] name: seat0
[08:         wl_seat] capabilities: pointer keyboard 
[10:    xdg_toplevel] configure: width: 0; height: 0
[09:     xdg_surface] configure: serial: 1751
[14:     wl_keyboard] keymap: format: 1 (xkb v1), size: 66784
[14:     wl_keyboard] repeat_info: rate: 25 keys/sec; delay: 600 ms
[14:     wl_keyboard] enter: serial: 1755; surface: 3
'                     sym: Return       (65293), utf8: '
[14:     wl_keyboard] modifiers: serial: 0; group: 16
                      depressed: 00000000
                      latched: 00000000
                      locked: 00000010: Mod2 
[11:  wl_data_device] selection: (cleared)
[10:    xdg_toplevel] configure: width: 636; height: 1030
                      activated tiled-left tiled-right tiled-top tiled-bottom 
[09:     xdg_surface] configure: serial: 1752
[14:     wl_keyboard] key: serial: 1758; time: 2197732; key: 36; state: 0 (released)
                      sym: Return       (65293), utf8: ''
[14:     wl_keyboard] key: serial: 1759; time: 2202168; key: 37; state: 1 (pressed)
                      sym: Control_L    (65507), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 16
                      depressed: 00000004: Control 
                      latched: 00000000
                      locked: 00000010: Mod2 
[14:     wl_keyboard] key: serial: 1761; time: 2202170; key: 199; state: 1 (pressed)
                      sym: XF86TouchpadToggle (269025193), utf8: ''
[14:     wl_keyboard] key: serial: 1762; time: 2202170; key: 199; state: 0 (released)
                      sym: XF86TouchpadToggle (269025193), utf8: ''
[14:     wl_keyboard] key: serial: 1763; time: 2202173; key: 133; state: 1 (pressed)
                      sym: Super_L      (65515), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 16
                      depressed: 00000044: Control Mod4 
                      latched: 00000000
                      locked: 00000010: Mod2 
[14:     wl_keyboard] key: serial: 1765; time: 2202175; key: 93; state: 1 (pressed)
                      sym: NoSymbol     (0), utf8: ''
[14:     wl_keyboard] key: serial: 1766; time: 2202181; key: 93; state: 0 (released)
                      sym: NoSymbol     (0), utf8: ''
[14:     wl_keyboard] key: serial: 1767; time: 2202188; key: 133; state: 0 (released)
                      sym: Super_L      (65515), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 16
                      depressed: 00000004: Control 
                      latched: 00000000
                      locked: 00000010: Mod2 
[14:     wl_keyboard] key: serial: 1769; time: 2202194; key: 37; state: 0 (released)
                      sym: Control_L    (65507), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 16
                      depressed: 00000000
                      latched: 00000000
                      locked: 00000010: Mod2

Something that might (or might not) be of interest is that while trying to generate Sway's logfile for this issue each press of XF86TouchpadToggle generated a ^@ on the TTY. While attempting to turn off and then back on the touchpad (which took a total amount of 14 XF86TouchpadToggle key presses instead of the expected 2) this is how my terminal looked:

[gdeoliveira@beta Documents]$ sway -d 2> log-XF86TouchpadToggle.txt
^@^@^@^@^@^@^@^@^@^@^@^@^@^@[gdeoliveira@beta Documents]$
@gdeoliveira gdeoliveira added the bug Not working as intended label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

1 participant