Open FFBoard
Open source force feedback firmware
Loading...
Searching...
No Matches
usb_hid_gamepad.c File Reference

Go to the source code of this file.

Variables

__ALIGN_BEGIN const uint8_t hid_gamepad_desc[USB_HID_GAMEPAD_REPORT_DESC_SIZE] __ALIGN_END
 

Variable Documentation

◆ __ALIGN_END

__ALIGN_BEGIN const uint8_t hid_gamepad_desc_32b [USB_HID_GAMEPAD_REPORT_DESC_32B_SIZE] __ALIGN_END
Initial value:
=
{
0x05, 0x01,
0x09, 0x04,
0xa1, 0x01,
HIDDESC_GAMEPAD_16B,
HIDDESC_CTRL_REPORTS,
0xC0
}

USB HID descriptor containing a gamepad definition and the vendor defined reports but no PID FFB

Definition at line 17 of file usb_hid_gamepad.c.