Hello, i made a plugin for my Logitech Cordless Keyboard (VID: 046D, PID: C505). It's based on Bitmonster's Logitech UltraX plugin (thank you).
Only the media and internet keys are recognized.
It's just a quick hack. I think long button presses will not work. Didn't know how to make this work.
plugin: Logitech Cordless Keyboard
plugin: Logitech Cordless Keyboard
- Attachments
-
- picture.gif (8.54 KiB) Viewed 3270 times
-
- __init__.py
- Logitech Cordless Keyboard plugin ver. 1.0.0
- (2.81 KiB) Downloaded 262 times
Re: plugin: Logitech Cordless Keyboard
I modified the pid of the plugin to fit my Logitech Keyboard.
The problem is that the mouse was also grouped with the extra keys in the device manager and now does not work anymore.
Some keys have wrong names, but that is a minor issue.
The problem is that the mouse was also grouped with the extra keys in the device manager and now does not work anymore.
Some keys have wrong names, but that is a minor issue.
Re: plugin: Logitech Cordless Keyboard
I was formerly using the generic HID plugin for this purpose, but this has the huge benefit of blocking the normal button functions. Enduring events seem to work fine on my end, what problem where you having with them?
My keyboard supports two simultaneous key presses, with the second and third digits in 'data'. This causes a problem with the code as attached, issuing a second keypress for the key held if you press a second key. I've currently worked around this by storing the previous state, and checking it against the current data, but then this will cause problems with enduring events, as EG only allows one active event per plugin.
My keyboard supports two simultaneous key presses, with the second and third digits in 'data'. This causes a problem with the code as attached, issuing a second keypress for the key held if you press a second key. I've currently worked around this by storing the previous state, and checking it against the current data, but then this will cause problems with enduring events, as EG only allows one active event per plugin.
Re: plugin: Logitech Cordless Keyboard
The problem is that the mouse function is also taken over by the WinUSB driver.
The second USB Input device is taken over by the WinUSB driver. Notice the HID-compliant mouse
The second USB Input device is taken over by the WinUSB driver. Notice the HID-compliant mouse
- Attachments
-
- usb.png (8.92 KiB) Viewed 3192 times