Fixed HIDAPI PS5 Bluetooth report format
This commit is contained in:
@@ -1066,10 +1066,11 @@ static bool HIDAPI_DriverPS5_InternalSendJoystickEffect(SDL_DriverPS5_Context *c
|
||||
|
||||
if (ctx->device->is_bluetooth) {
|
||||
data[0] = k_EPS5ReportIdBluetoothEffects;
|
||||
data[1] = 0x02; // Magic value
|
||||
data[1] = 0x00; // Tag and sequence
|
||||
data[2] = 0x10; // Magic value
|
||||
|
||||
report_size = 78;
|
||||
offset = 2;
|
||||
offset = 3;
|
||||
} else {
|
||||
data[0] = k_EPS5ReportIdUsbEffects;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user