3 ms·
> injecting key strokes or mouse input into applications can only be done by even worse hacks. Hum I don't understand this, I've been injecting key strokes for
by phh 4y ago
> injecting key strokes or mouse input into applications can only be done by even worse hacks.
Hum I don't understand this, I've been injecting key strokes for a decade on any Linux-running system using uinput (which creates a new virtual /dev/input). Is this somehow broken by wayland? (I haven't ever really used wayland, nor do i understand how it works)
- FreeFull 4y agoAFAIK uinput does work just fine with Wayland. I've used sc-controller under Wayland before without any issues, and I believe it makes use of uinput
- Fnoord 4y agoI use Wayland + Sway plus ydotool(d) on a dailty basis (e.g. with libinput-gestures), as well as kbct to rebind keys (main purpose caps to esc and some ctrl/alt/meta/fn rebinds). Both use uinput. Things I could do with xdotool I can also do with ydotool.
- wawawawaz 4y agoI found this comment looking for exactly this. Can you share any advice / config / dotfiles?