Skip to content

Explicit naming of devices in keyboard_grouping #8576

Open
@hugeblank

Description

I have two "keyboard" devices. A set of 3 foot pedals treated as one keyboard, and a proper keyboard. I would like to use one of the pedals to act as my mod key, so that all I have to do is hold the pedal down and press a single button on my keyboard.

The "smart" default of seat <name> keyboard_grouping is not acting smart and treats them like individual devices despite every indication to me that their layouts are the same. This is incredibly inconvenient and makes what I want impossible.

My inputs, where you can see the layouts are the same for the foot pedals and logitech keyboard: https://pastebin.com/GRPRxtFA

I would like to be able to explicitly declare the two devices as a single group like so:

seat <name> keyboard_grouping <keyboardAIdentifier>,<keyboardBIdentifier>,[...]
where the identifier is what is provided by swaymsg -t get_inputs.

for example:
seat seat0 keyboard_grouping 1133:50501:Logitech_USB_Receiver_Keyboard,13651:45057:PCsensor_FootSwitch_Keyboard

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

    enhancementNew feature or incremental improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions