Add Anko KM43277483 USB Gaming Mouse support

This commit is contained in:
morg 2024-01-22 10:42:35 +01:00 committed by Adam Honse
parent e1ce61778c
commit cee841f3ba
3 changed files with 6 additions and 4 deletions

View file

@ -53,7 +53,7 @@ void InstantMouseController::SendColor(RGBColor color)
{
/*---------------------------------------------------------*\
| Packet details |
| 07 X4 0G RB 00 00 00 00 |
| 07 14 XG RB 00 00 00 00 |
| where X is the DPI slot |
\*---------------------------------------------------------*/
@ -86,10 +86,10 @@ void InstantMouseController::SetMode(uint8_t mode_value, uint8_t speed, uint8_t
| FF = constant |
| - = still undiscovered/useless |
| M = mode |
| S = speed 0 -> 5 (6 and more makes the effect static) |
| S = speed 0 -> 5 (6 and above makes the effect static) |
| N = number of leds |
| D = direction (0/1) |
| B = brightness (0 full, F off) |
| B = brightness (0 full, 7 off) |
\*---------------------------------------------------------*/
uint8_t led_mask = 0xB;