waybind icon indicating copy to clipboard operation
waybind copied to clipboard

Multiple devices

Open pblgomez opened this issue 4 years ago • 5 comments

Is there anyway you can make it work for multiple devices? like:

device: /dev/input/event0
rebinds:
   - fro........
  .......
---
device: /dev/input/event1
rebinds:
   - fro........
  .......

pblgomez avatar Nov 11 '20 12:11 pblgomez

yes, that would be great. Specifying multiple devices would be enough for me. E. g.:

devices:
  - /dev/input/event0
  - /dev/input/event19

maltesa avatar Mar 03 '21 08:03 maltesa

As a workaround I created a simple script updates the waybind config with the last keyboard connected: https://gist.github.com/maltesa/036e594466cf905548ac69efc8e6eefd

If an external keyboard is connected, it should activate waybind for that one. Works well on my machine. I have an external backlit keyboard. Propably the grep command must be adjusted with non-backlit keyboards.

maltesa avatar Mar 10 '21 09:03 maltesa

I apologize for radio silence. The project fulfills my needs and I didn't expect for it to become so popular (it's not super popular but it's got a few users).

Currently, I haven't found the time to work on this between work and family life so don't expect me to add this for the time being.

Pull requests are welcome though!

arnarg avatar Mar 11 '21 16:03 arnarg

@pblgomez @maltesa I recently discovered https://github.com/samvel1024/kbct which might fulfill your needs.

arnarg avatar Jun 28 '21 09:06 arnarg

@arnarg Thank you, that's awesome!

maltesa avatar Jun 28 '21 15:06 maltesa