Description
- Sway Version: 1.4
- Configuration File: https://github.com/9ary/dotfiles/blob/3ff5d0749ce60b533a31b039ec3509b3afd99ce0/i3/config
I have a keyboard which requires grouping for eg modifiers to work with media keys. The problem is that the ydotool virtual keyboard (a uinput device) is also grouped together with my physical keyboard. This causes modifiers from the physical keyboard to affect ydotool input, which is undesirable.
There is currently no option to manually define keyboard groups, I think it would be useful to provide one. Something like seat <name> keyboard_group <list of identifiers>
would group all keyboards matching list elements.
I'm not sure how feasible it would be to also detect whether two logical devices are actually the same physical device (for example two physical keyboards will be attached to different USB ports, or have a different Bluetooth address, at the very least we have PID/VID to discriminate by, but that wouldn't account for two identical devices), but I suppose that's more of a wlroots issue?
Activity