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
I had trouble making the deamon react to a key press from XF86AudioPlay coming from a bluetooth headset, due to this keysym have multiple codes associated (had 172 by default and the headset sent a 208).
It seems the reason is the same as described here : electron/electron#2210 , in short XKeyGrab is only used with code 172 thus code 208 aren't registered.
I manually added a XKeyGrab for the code 208 and it worked, but I haven't found a more elegant solution (not really familiar with Xlib). I have seen people use xbindkeys to detect key pressed event with this code and map it to send a XF86AudioPlay key pressed event with xdotool, maybe lefthk could also have some way to configure keys by code?
The text was updated successfully, but these errors were encountered:
@Lieunoir I'd like to replicate your setup (both failing and working) because I want to support multiple combos -> one action on my system. Could you share any files you changed with before/after states?
I had trouble making the deamon react to a key press from XF86AudioPlay coming from a bluetooth headset, due to this keysym have multiple codes associated (had 172 by default and the headset sent a 208).
It seems the reason is the same as described here : electron/electron#2210 , in short XKeyGrab is only used with code 172 thus code 208 aren't registered.
I manually added a XKeyGrab for the code 208 and it worked, but I haven't found a more elegant solution (not really familiar with Xlib). I have seen people use xbindkeys to detect key pressed event with this code and map it to send a XF86AudioPlay key pressed event with xdotool, maybe lefthk could also have some way to configure keys by code?
The text was updated successfully, but these errors were encountered: