Searched refs:input_report (Results 1 – 1 of 1) sorted by relevance
/external/libusb/examples/ |
D | xusb.c | 192 uint8_t input_report[49]; in display_ps3_status() local 211 HID_GET_REPORT, (HID_REPORT_TYPE_INPUT<<8)|0x01, 0, input_report, sizeof(input_report), 1000)); in display_ps3_status() 212 switch(input_report[2]){ /** Direction pad plus start, select, and joystick buttons */ in display_ps3_status() 238 switch(input_report[3]){ /** Shapes plus top right and left buttons */ in display_ps3_status() 264 printf("\tPS button: %d\n", input_report[4]); in display_ps3_status() 265 printf("\tLeft Analog (X,Y): (%d,%d)\n", input_report[6], input_report[7]); in display_ps3_status() 266 printf("\tRight Analog (X,Y): (%d,%d)\n", input_report[8], input_report[9]); in display_ps3_status() 267 printf("\tL2 Value: %d\tR2 Value: %d\n", input_report[18], input_report[19]); in display_ps3_status() 268 printf("\tL1 Value: %d\tR1 Value: %d\n", input_report[20], input_report[21]); in display_ps3_status() 271 (int8_t)(input_report[42]), in display_ps3_status() [all …]
|