You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the help of your old Python version of this program and Wireshark, I was able to reverse engineer the protocol used on the G203 prodigy mouse.
I have a working Python code for controlling just the G203 here: https://github.com/smasty/g203-led.
Unfortunately, I don't have enough C/C++ knowledge to provide a Pull Request, but I'm sure it will be easy for you to implement with the protocol information, so here goes:
Device info
vendor ID: 0x046d
productID: 0xc084
USB Control transfer settings
bmRequestType: 0x21
bRequest: 0x09
wValue: 0x0211
wIndex: 1
Protocol
The mouse supports one lighting zone - Logo. Three modes are possible:
Solid color
Color cycle
Breathing
First 5 bytes of the protocol are the same for all three modes. The 6th byte controls the mode.
BRIGHTNESS should be a single byte hex value between 01 and 64 (so 1-100 in decimal). 100 means maximum brightness, 1 means off. Caution: passing 00 means maximum brightness not zero brightness.
RATE should be a double byte hex value representing the number of milliseconds the effect should last. There are no given min/max values, but the Logitech Gaming software uses 03 e8 (1000 ms) as minimum and 4e 20 (20 000 ms) as maximum.
TOGGLE should be 01 to enable the effect and 02 to disable it.
Notes
Only a single USB Control transfer is needed to update the mouse settings. These settings are then stored in the mouse and persist between reboots, reconnects and multiple PCs.
The mouse supports "sleep after inactivity", but it is controled by the Logitech software, not by the chip inside.
The text was updated successfully, but these errors were encountered:
Thanks for your return...
Currently, mouse are not supported but I've a waiting PR #106 for a first support.
I'm very busy but if I digest the PR, it will be easy to implement your G203.
With the help of your old Python version of this program and Wireshark, I was able to reverse engineer the protocol used on the G203 prodigy mouse.
I have a working Python code for controlling just the G203 here: https://github.com/smasty/g203-led.
Unfortunately, I don't have enough C/C++ knowledge to provide a Pull Request, but I'm sure it will be easy for you to implement with the protocol information, so here goes:
Device info
0x046d
0xc084
USB Control transfer settings
0x21
0x09
0x0211
1
Protocol
The mouse supports one lighting zone - Logo. Three modes are possible:
First 5 bytes of the protocol are the same for all three modes. The 6th byte controls the mode.
Solid color
COLOR
should be a RGB hex value (ff 00 00
).Color cycle
BRIGHTNESS
should be a single byte hex value between01
and64
(so 1-100 in decimal). 100 means maximum brightness, 1 means off. Caution: passing00
means maximum brightness not zero brightness.RATE
should be a double byte hex value representing the number of milliseconds the effect should last. There are no given min/max values, but the Logitech Gaming software uses03 e8
(1000 ms) as minimum and4e 20
(20 000 ms) as maximum.Breathing
COLOR
,RATE
andBRIGHTNESS
should be the same as in the other modesRATE
andBRIGHTNESS
parameters appear on different offsets compared to the Color cycle mode.Enable/disable startup effect
TOGGLE
should be01
to enable the effect and02
to disable it.Notes
The text was updated successfully, but these errors were encountered: