mr.Spinner: more natural axis range for paddles, option for single device, support for paddle and spinner at the same time.

This commit is contained in:
sorgelig
2020-02-25 20:01:51 +08:00
parent b75acc4de2
commit f812ceff60
2 changed files with 78 additions and 83 deletions

View File

@@ -46,8 +46,8 @@ static const uint8_t _hidReportDescriptor[] PROGMEM = {
0xa1, 0x00, // COLLECTION (Physical)
0x09, 0x30, // USAGE (X)
0x09, 0x31, // USAGE (Y)
0x15, 0x80, // LOGICAL_MINIMUM (-128)
0x25, 0x7f, // LOGICAL_MAXIMUM (127)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x26, 0xFF, 0x00, // LOGICAL_MAXIMUM (255)
0x95, 0x02, // REPORT_COUNT (2)
0x75, 0x08, // REPORT_SIZE (8)
0x81, 0x02, // INPUT (Data,Var,Abs)