the following report map is working when i try to increase volume on windows system (send 1 byte == 0xe9)
0x05, 0x0c, // USAGE_PAGE (Consumer Devices)
0x09, 0x01, // USAGE (Consumer Control)
0xa1, 0x01, // COLLECTION (Application)
0x85, 0x02, // REPORT_ID (2)
0x75, 0x08, // REPORT_SIZE (8)
0x95, 0x01, // REPORT_COUNT (1)
0x15, 0x00, // LOGICAL_MINIMUM (0x00)
0x25, 0xff, // LOGICAL_MAXIMUM (0xff)
0x19, 0x00, // USAGE_MINIMUM (0x0)
0x29, 0xff, // USAGE_MAXIMUM (0xff)
0x81, 0x00, // INPUT (Data,Array,Abs)
0xc0, // END_COLLECTION
i try to change the report map to 2 bytes and it doesn't work anymore. already tried switching byte 0 and byte 1 just in case it might be an endian issue, but both are not working.
0x05, 0x0c, // USAGE_PAGE (Consumer Devices)
0x09, 0x01, // USAGE (Consumer Control)
0xa1, 0x01, // COLLECTION (Application)
0x85, 0x02, // REPORT_ID (2)
0x75, 0x10, // REPORT_SIZE (16)
0x95, 0x01, // REPORT_COUNT (1)
0x15, 0x00, // LOGICAL_MINIMUM (0x0)
0x26, 0xff, 0xff, // LOGICAL_MAXIMUM (0xffff)
0x19, 0x00, // USAGE_MINIMUM (0x0)
0x2a, 0xff, 0xff, // USAGE_MAXIMUM (0xffff)
0x81, 0x00, // INPUT (Data,Array,Abs)
0xc0, // END_COLLECTION
can anyone say what's wrong here? thanks! tried both on windows and andriod