-
Notifications
You must be signed in to change notification settings - Fork 112
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
Logitech MX Keys (via Logitech Unified receiver) not detected as keyboard #151
Comments
I think perhaps if we checked for QWERTY + A +Z that perhaps we could then drop the "BTN_MOUSE" requirement? |
What I think works:
@rroels Does your keyboard have all these keys? |
@joshgoebel yes, it does. The Logitech MX Keys keyboard is a relatively standard keyboard: It's only the OS that seems to think it has support for BTN_MOUSE, which isn't true. |
My new keyboard detection code:
Which is going to give us everything other than say numpad only keyboards... but problem for another day. |
I found this issue while trying to debug my Logitech G604 mouse (for which I have some keyboard macros assigned to buttons). XKeysnail seems to work with the mouse while it's using Bluetooth (showing a corresponding device I tried the above changes as well as forcing the I'm wondering if there is any way for me to force xkeysnail to behave the same way when the mouse is using the USB as it does for Bluetooth, but I guess they register as "different" devices so maybe not? Also seems like joshgoebel/keyszer#123 might be related to this (although I haven't had a chance to try |
USB and bluetooth drivers can be very different... BUT If you can it's best not to run your mouse thru Keyser at all... use |
yeah, I guess that makes sense. In the linked |
The currect way of detecting keyboards fails with devices that are both mice and keyboards. An example of this, is the Logitech Unified Receiver dongle.
In
input.py
, in the methodis_keyboard_device(...)
, the following check just rejects it as a keyboard:In this case, a Logitech Unified Receiver is rejected because it has support for BTN_MOUSE, even though it's also the connector for my wireless keyboard.
It would be nice if this check can be improved to accept keyboard devices that also have support for BTN_MOUSE.
The device capabilities for my Logitech MX Keys keyboard (connected via Logitech Unifying dongle) look like this:
The text was updated successfully, but these errors were encountered: