File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ static void HIDAPI_DriverPS5_SetEnhancedModeAvailable(SDL_DriverPS5_Context *ctx
823823 if (ctx -> sensors_supported ) {
824824 // Standard DualSense sensor update rate is 250 Hz over USB
825825 float update_rate = 250.0f ;
826-
826+
827827 if (ctx -> device -> is_bluetooth ) {
828828 // Bluetooth sensor update rate appears to be 1000 Hz
829829 update_rate = 1000.0f ;
@@ -1066,10 +1066,11 @@ static bool HIDAPI_DriverPS5_InternalSendJoystickEffect(SDL_DriverPS5_Context *c
10661066
10671067 if (ctx -> device -> is_bluetooth ) {
10681068 data [0 ] = k_EPS5ReportIdBluetoothEffects ;
1069- data [1 ] = 0x02 ; // Magic value
1069+ data [1 ] = 0x00 ; // Tag and sequence
1070+ data [2 ] = 0x10 ; // Magic value
10701071
10711072 report_size = 78 ;
1072- offset = 2 ;
1073+ offset = 3 ;
10731074 } else {
10741075 data [0 ] = k_EPS5ReportIdUsbEffects ;
10751076
You can’t perform that action at this time.
0 commit comments