Skip to content

Commit

Permalink
ffb descriptor effect delay (linux compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed May 22, 2021
1 parent 5eba312 commit f04f7cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Firmware/FFBoard/UserExtensions/Inc/usb_hid_ffb_desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef USB_INC_USB_HID_FFB_DESC_H_
#define USB_INC_USB_HID_FFB_DESC_H_

#define USB_HID_FFB_REPORT_DESC_SIZE 1376
#define USB_HID_FFB_REPORT_DESC_SIZE 1378

extern const uint8_t hid_ffb_desc[USB_HID_FFB_REPORT_DESC_SIZE];

Expand Down
3 changes: 2 additions & 1 deletion Firmware/FFBoard/UserExtensions/Src/usb_hid_ffb_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,15 @@ __ALIGN_BEGIN const uint8_t hid_ffb_desc[USB_HID_FFB_REPORT_DESC_SIZE] __ALIGN_E
0x09,0x50, // Usage Duration
0x09,0x54, // Usage Trigger Repeat Interval
0x09,0x51, // Usage Sample Period
0x09,0xA7, // Usage Start Delay
0x15,0x00, // Logical Minimum 0
0x26,0xFF,0x7F, // Logical Maximum 7FFFh (32767d)
0x35,0x00, // Physical Minimum 0
0x46,0xFF,0x7F, // Physical Maximum 7FFFh (32767d)
0x66,0x03,0x10, // Unit 1003h (4099d)
0x55,0xFD, // Unit Exponent FDh (253d)
0x75,0x10, // Report Size 10h (16d)
0x95,0x03, // Report Count 3
0x95,0x04, // Report Count 4
0x91,0x02, // Output (Variable)
0x55,0x00, // Unit Exponent 0
0x66,0x00,0x00, // Unit 0
Expand Down

0 comments on commit f04f7cb

Please sign in to comment.