Преглед на файлове

Fix mistyped output report message for Steam Controller

This caused hiccups in BlueZ BT driver for Linux
Sam Lantinga преди 3 дни
родител
ревизия
bb3c61390a
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      src/joystick/hidapi/steam/controller_structs.h

+ 1 - 2
src/joystick/hidapi/steam/controller_structs.h

@@ -179,9 +179,8 @@ typedef struct
     uint16_t on_us;
     uint16_t on_us;
     uint16_t off_us;
     uint16_t off_us;
     uint16_t repeat_count;
     uint16_t repeat_count;
-    uint16_t gain_db; 
 } MsgHapticPulse;
 } MsgHapticPulse;
-#define HID_HAPTIC_PULSE_OUTPUT_REPORT_BYTES 10
+#define HID_HAPTIC_PULSE_OUTPUT_REPORT_BYTES 8
 
 
 typedef struct
 typedef struct
 {
 {