Open 9ary opened 4 years ago
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?
Can you share a libinput list-devices
dump? It should indicate the libinput groups (which we don't use at the moment).
Yeah each physical device has its own group on my system (the keyboard is the Input Club device).
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?