Open FFBoard
Open source force feedback firmware
usb_hid_ffb_desc.h
Go to the documentation of this file.
1/*
2 * usb_hid_ffb_desc.h
3 *
4 * Created on: 22.02.2021
5 * Author: Yannick
6 */
7
8#ifndef USB_INC_USB_HID_FFB_DESC_H_
9#define USB_INC_USB_HID_FFB_DESC_H_
10#include "constants.h"
11
12
13#define USB_HID_1FFB_REPORT_DESC_SIZE 1196
14#ifdef AXIS1_FFB_HID_DESC
15extern const uint8_t hid_1ffb_desc[USB_HID_1FFB_REPORT_DESC_SIZE];
16#endif
17
18#define USB_HID_2FFB_REPORT_DESC_SIZE 1215//1213
19#ifdef AXIS2_FFB_HID_DESC
20extern const uint8_t hid_2ffb_desc[USB_HID_2FFB_REPORT_DESC_SIZE];
21#endif
22
23#define USB_HID_GAMEPAD_REPORT_DESC_SIZE 176
24#ifdef FFB_HID_DESC_GAMEPAD
25extern const uint8_t hid_gamepad_desc[USB_HID_GAMEPAD_REPORT_DESC_SIZE];
26#endif
27
28#endif /* USB_INC_USB_HID_FFB_DESC_H_ */
const uint8_t hid_1ffb_desc[USB_HID_1FFB_REPORT_DESC_SIZE]
const uint8_t hid_2ffb_desc[USB_HID_2FFB_REPORT_DESC_SIZE]
const uint8_t hid_gamepad_desc[USB_HID_GAMEPAD_REPORT_DESC_SIZE]