Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:hw:xencelabs-quickkeys [2023/04/26 11:48] – maff | notes:hw:xencelabs-quickkeys [2023/06/26 14:17] (current) – maff | ||
---|---|---|---|
Line 125: | Line 125: | ||
* Checks for updates to itself by calling '' | * Checks for updates to itself by calling '' | ||
* Checks for firmware updates by calling '' | * Checks for firmware updates by calling '' | ||
+ | |||
+ | ===== Notes during reverse-engineering ===== | ||
+ | |||
+ | Both the dongle and the direct USB connection expose a USB Usage with page FF0Ah | ||
+ | |||
+ | Not 100% on packet/HID report format, but.. | ||
+ | |||
+ | * All writes are 32-byte packets | ||
+ | * Bytes 10-15 inclusive are the MAC address of the device, or zeroes if connected via USB instead of the dongle | ||
+ | * Byte 0 is always 0x02 - this is the endpoint I think | ||
+ | * Data is only sent from the device once it has been subscribed to: | ||
+ | * 02b410 - Subscribes to battery change events | ||
+ | * 02b004 - Subscribes to button press and wheel events | ||
+ | * 02b801 - Subscribes to dongle connection events | ||
+ | |||
+ | Commands/ | ||
+ | |||
+ | * 02b40801& | ||
+ | * 02b4040101& | ||
+ | * 02b10a01& | ||
+ | * 02b1&0 - Set the display rotation (0 = 0º, 3 = 270º) | ||
+ | * 02b40101& | ||
+ | * 02b100& | ||
+ | * 02b1& | ||
===== Links ===== | ===== Links ===== |