You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
So I got what I wanted to do to work. The big issue was that any difference in xkb configuration immediately throws the device out of the grouping, and I was using xkb to remap the keys. Instead of using xkb I used udev's hwdb rules to do the remap, following this article (archive). I still think this feature request is valid though, since it really shouldn't take going to udev to have the devices play nice in a single grouping.
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
The text was updated successfully, but these errors were encountered: