Skip to content

Finer keyboard grouping #5218

Open
Open
@9ary

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions