Skip to content

Commit

Permalink
Rival 100: add support for querying firmware version
Browse files Browse the repository at this point in the history
I kind of doubt this mouse has different firmware versions, but why not.
Mine is v0.101 by the way.
It probably works the same way on Rival 110.
  • Loading branch information
staticssleever668 committed Feb 1, 2022
1 parent 085e204 commit 52f4097
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rivalcfg/devices/rival100.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,9 @@
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
"command": [0x09, 0x00],
},
"firmware_version": {
"report_type": usbhid.HID_REPORT_TYPE_OUTPUT,
"command": [0x10, 0x00],
"response_length": 2,
},
}

0 comments on commit 52f4097

Please sign in to comment.