Remapped combination of keys doesnt fire
hi, this is a pretty specific issue thats been a little annoying
i use the combination Meta+Shift+O to move windows to the right in my window manager
the o key is mapped to the location of ' in my layout
this, for some reason, results in Meta+Shift+' never working
Literally any other combination of those modifiers works, but not the specific one i need
heres the relevant config:
[main]
' = o
and from my wm (niri):
Mod+Shift+O { move-column-right; }
heres the output of keyd monitor, pressing different combinations:
device added: 0fac:1ade:d2b36ae6 keyd virtual pointer (/dev/input/event19)
device added: 0fac:0ade:efba1ddf keyd virtual keyboard (/dev/input/event18)
device added: 056a:5150:f2ccfa1a Wacom Pen and multitouch sensor Pen (/dev/input/event10)
device added: 056a:5150:01678b32 Wacom Pen and multitouch sensor Finger (/dev/input/event9)
device added: 0000:0006:bdb72f48 Video Bus (/dev/input/event8)
device added: 17aa:5054:0bd45622 ThinkPad Extra Buttons (/dev/input/event7)
device added: 0002:000e:dc91917c ETPS/2 Elantech Touchpad (/dev/input/event6)
device added: 0002:000e:931feb85 ETPS/2 Elantech TrackPoint (/dev/input/event5)
device added: 0001:0001:70533846 AT Translated Set 2 keyboard (/dev/input/event0)
keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta down
keyd virtual keyboard 0fac:0ade:efba1ddf o down
keyd virtual keyboard 0fac:0ade:efba1ddf o up
keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta up
keyd virtual keyboard 0fac:0ade:efba1ddf leftshift down
keyd virtual keyboard 0fac:0ade:efba1ddf o down
keyd virtual keyboard 0fac:0ade:efba1ddf o up
keyd virtual keyboard 0fac:0ade:efba1ddf leftshift up
keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta down
keyd virtual keyboard 0fac:0ade:efba1ddf leftshift down
---> agressively mashing my ' key here
keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta up
keyd virtual keyboard 0fac:0ade:efba1ddf leftshift up
keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol down
keyd virtual keyboard 0fac:0ade:efba1ddf leftshift down
keyd virtual keyboard 0fac:0ade:efba1ddf o down
keyd virtual keyboard 0fac:0ade:efba1ddf o up
keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol up
keyd virtual keyboard 0fac:0ade:efba1ddf leftshift up
keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol down
thank you for this software nontheless, i couldnt live without it
This might be an issue of key rollover, ie the keyboard cannot physically register that combination of keys. Can you check whether keyd monitor registers this key combination when keyd is not running?
On March 20, 2025 10:40:03 AM GMT+01:00, throwaway-squared @.***> wrote:
throwaway-squared created an issue (rvaiya/keyd#969)
hi, this is a pretty specific issue thats been a little annoying
i use the combination Meta+Shift+O to move windows to the right in my window manager the
okey is mapped to the location of'in my layout this, for some reason, results inMeta+Shift+'never workingLiterally any other combination of those modifiers works, but not the specific one i need
heres the relevant config:
[main] ' = oand from my wm (niri):
Mod+Shift+O { move-column-right; }heres the output of
keyd monitor, pressing different combinations:device added: 0fac:1ade:d2b36ae6 keyd virtual pointer (/dev/input/event19) device added: 0fac:0ade:efba1ddf keyd virtual keyboard (/dev/input/event18) device added: 056a:5150:f2ccfa1a Wacom Pen and multitouch sensor Pen (/dev/input/event10) device added: 056a:5150:01678b32 Wacom Pen and multitouch sensor Finger (/dev/input/event9) device added: 0000:0006:bdb72f48 Video Bus (/dev/input/event8) device added: 17aa:5054:0bd45622 ThinkPad Extra Buttons (/dev/input/event7) device added: 0002:000e:dc91917c ETPS/2 Elantech Touchpad (/dev/input/event6) device added: 0002:000e:931feb85 ETPS/2 Elantech TrackPoint (/dev/input/event5) device added: 0001:0001:70533846 AT Translated Set 2 keyboard (/dev/input/event0) keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta down keyd virtual keyboard 0fac:0ade:efba1ddf o down keyd virtual keyboard 0fac:0ade:efba1ddf o up keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta up keyd virtual keyboard 0fac:0ade:efba1ddf leftshift down keyd virtual keyboard 0fac:0ade:efba1ddf o down keyd virtual keyboard 0fac:0ade:efba1ddf o up keyd virtual keyboard 0fac:0ade:efba1ddf leftshift up keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta down keyd virtual keyboard 0fac:0ade:efba1ddf leftshift down ---> agressively mashing my ' key here keyd virtual keyboard 0fac:0ade:efba1ddf leftmeta up keyd virtual keyboard 0fac:0ade:efba1ddf leftshift up keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol down keyd virtual keyboard 0fac:0ade:efba1ddf leftshift down keyd virtual keyboard 0fac:0ade:efba1ddf o down keyd virtual keyboard 0fac:0ade:efba1ddf o up keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol up keyd virtual keyboard 0fac:0ade:efba1ddf leftshift up keyd virtual keyboard 0fac:0ade:efba1ddf leftcontrol downthank you for this software nontheless, i couldnt live without it
-- Reply to this email directly or view it on GitHub: https://github.com/rvaiya/keyd/issues/969 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
it does register without keyd running:
device added: 056a:5150:f2ccfa1a Wacom Pen and multitouch sensor Pen (/dev/input/event10)
device added: 056a:5150:01678b32 Wacom Pen and multitouch sensor Finger (/dev/input/event9)
device added: 0000:0006:bdb72f48 Video Bus (/dev/input/event8)
device added: 17aa:5054:0bd45622 ThinkPad Extra Buttons (/dev/input/event7)
device added: 0002:000e:dc91917c ETPS/2 Elantech Touchpad (/dev/input/event6)
device added: 0002:000e:931feb85 ETPS/2 Elantech TrackPoint (/dev/input/event5)
device added: 0001:0001:70533846 AT Translated Set 2 keyboard (/dev/input/event0)
AT Translated Set 2 keyboard 0001:0001:70533846 enter up
AT Translated Set 2 keyboard 0001:0001:70533846 leftmeta down
AT Translated Set 2 keyboard 0001:0001:70533846 leftshift down
AT Translated Set 2 keyboard 0001:0001:70533846 ' down
AT Translated Set 2 keyboard 0001:0001:70533846 ' up
AT Translated Set 2 keyboard 0001:0001:70533846 leftmeta up
AT Translated Set 2 keyboard 0001:0001:70533846 leftshift up
AT Translated Set 2 keyboard 0001:0001:70533846 leftcontrol down
AT Translated Set 2 keyboard 0001:0001:70533846 c down
meta+shift+o works without keyd too, but this issue arises only on the ' key
if the issue would be with key rollover, then it would make sense for me to not be able to use any other 3-key-combinations, but i can. meta+shift+n for example works beautifully
if the issue would be with key rollover, then it would make sense for me to not be able to use any other 3-key-combinations, but i can. meta+shift+n for example works beautifully
No, rollover can affect some combinations while not affecting others of the same length (though admittedly it is unlikely to affect modifiers + a single normal key, since that's the sort of combination that is foreseen by keyboard makers --- not the madness to which keyd users sometimes subject them). In fact, congratulations, you may be the first where this sort of issue actually isn't due to rollover. :P
In any case, I cannot reproduce this. Can you post your full config?
awesome that i might be the first one to ever come across this lmao but sure thing, the config is over here
Alright, I can still not reproduce this with your actual config --- but from that config I gather that you actually press the physical keys leftalt to get the meta modifier and either leftshift, -, or sysrq to get the shift modifier. Especially those last two are far more likely to trigger a rollover issue, after all. Can you try to hit the actual physical key combination while keyd is not running?
hi, sorry for taking so long to respond
it seems that yes, you were right, this seems to be something with key rollover, as pressing leftalt, sysrq and ' without keyd active also doesnt fire!
whats weird is that as long as leftalt is held, sysrq doesnt even show up in keyd monitor, even after releasing sysrq. however releasing leftalt after having released sysrq rapidly presses and releases sysrq before leftalt is released.
absolutely no luck for ' though, will not show up no matter what i do