Estou com problemas no código para um joystick de 8 eixos, 8 botões e capacete (hat). Na compilação não é acusado nenhum erro.
Solicito ajuda.
0x05, 0x01, // USAGE_PAGE (Generic Desktop)
0x09, 0x04, // USAGE (Joystick)
0xa1, 0x01, // COLLECTION (Application)
0x09, 0x01, // USAGE (Pointer)
0xa1, 0x00, // COLLECTION (Physical)
0x09, 0x30, // USAGE (X)
0x09, 0x31, // USAGE (Y)
0x09, 0x32, // usage (Z)
0x09, 0x33, // usage (Rx)
0x09, 0x34, // usage (Ry)
0x09, 0x35, // usage (Rz)
0x09, 0x36, // usage (A)
0x09, 0x37, // usage (Ra)
0x75, 0x08, // REPORT_SIZE (8)
0x95, 0x08, // REPORT_COUNT (8)
0x81, 0x02, // INPUT (Data,Var,Abs)
0xc0, // END_COLLECTION
0x05, 0x09, // usage_page (button)
0x19, 0x01, // usage_minimum (button 1)
0x29, 0x08, // usage_maximum (button

0x15, 0x00, // logical_minimum (0)
0x25, 0x01, // logical_maximum (1)
0x75, 0x01, // report_size (1)
0x95, 0x08, // report_count (8)
0x81, 0x02, // inpu (Data,Var,Abs)
0xc0, // END_COLLECTION
0x09, 0x39, // usage(hat)
0x15, 0x01, // logical_minimum (1)
0x25, 0x08, // logical_maximun (8)
0x35, 0x00, // physical_minimum (0)
0x46, 0x67, 0x01, // physical_maximum (359)
0x65, 0x14, // unit (eng rot:angular pos)
0x75, 0x08, // report_size (8)
0x95, 0x01, // report_count (1)
0x81, 0x02, // input (data,var,abs)
0xc0 // END_COLLECTION