-
Notifications
You must be signed in to change notification settings - Fork 130
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
Feature request: Properly name devices #1375
Comments
How does this solve the issue? |
because per device input settings are setup like this in hyprland, sway, and many others device { if it's just kanata-1 and it's randomly assigned, i can't have per-input device configurations, if it changes to kanata-logitech-usb-receiver it'll be predictable, i'll just rename everything to kanata-whatever and my input settings will be properly configured. If I create a setting that's kanata-1, if I was to, for example, not have one device plugged in, then i'd end up with my input settings applying to different things randomly. |
Kanata only creates one uinput device. If it's grabbing multiple mouse devices they all get coalesced into one event stream associated with the Kanata device. Line 386 in e8afdc4
Based on my understanding of how this solution is intended to fix the problem, you're asking for this to change to multiple uinput devices based on captured device names? Sounds like a lot of work and is a questionable solution. |
this is a huge problem, if I plug a hidpi mouse into my laptop with a trackpad, it's impossible to give one separate settings from the other. I disable mouse acceleration on all mice, and leave it enabled on all trackpads, and obviously the sensitivity needs to be set differently for mice and trackpads.
there's no other way to support this usecase if you do want mice supported by kanata, and don't want to have to manually exclude devices, and what if I have a trackpad and mouse that I want kanata to handle but want to have different sensitivities set? No solution is possible in that case. |
You can use evsieve to do device event splitting. For example if mouse button rebinds are desired to be processed by Kanata, buttons can go to one device grabbed by Kanata and the rest to a separate device. I likely won't ever get around to reimplementing this in Kanata. |
Is your feature request related to a problem? Please describe.
My mouse is still selected even if linux-device-detect-mode keyboard-only is set, but i've realized the real problem isn't that kanata is grabbing these devices, but that they have non-standard, randomized names.
Describe the solution you'd like.
kanata-1 should really be kanata-logitech-usb-receiver
since the mouse by default is named logitech-usb-receiver
Describe alternatives you've considered.
n/a
Additional context
No response
The text was updated successfully, but these errors were encountered: