-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle duplicated keyboard names on multiple device paths. #49
Comments
mschout
added a commit
to mschout/kbct
that referenced
this issue
May 22, 2024
… number to the end fixes samvel1024#49
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a new keyboard (Wobkey Rainy 75) that, when in wired mode, exposes itself with the exact same name on multiple device paths:
e.g.:
kbct
seems to always pickevent4
and the last one wins, but the one that actually receives the key events is on/dev/input/event2
.I made a patch to work around this by checking if there is already a keyboard with the current name in the device map, and if so, append the device number to the end. So after the patch, the second one becomes
RDR Rainy 75-4
, and I can stickRDR Rainy 75
in the list of keyboards and it works.I will push a PR shortly.
The text was updated successfully, but these errors were encountered: