Skip to content

Commit f40bf44

Browse files
committed
Removed unnecessary include
1 parent 6d3e8b7 commit f40bf44

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/joystick/hidapi/SDL_hidapi_8bitdo.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
#ifdef SDL_JOYSTICK_HIDAPI
2424

25-
#include "../../SDL_hints_c.h"
2625
#include "../SDL_sysjoystick.h"
2726
#include "SDL_hidapijoystick_c.h"
2827
#include "SDL_hidapi_rumble.h"
@@ -235,8 +234,8 @@ static Uint64 HIDAPI_Driver8BitDo_GetIMURateForProductID(SDL_HIDAPI_Device *devi
235234
// TODO: If sensor time stamp is sent, these fixed settings from observation can be replaced
236235
switch (device->product_id) {
237236
// Note, This is estimated by observation of Bluetooth packets received in the testcontroller tool
238-
case USB_PRODUCT_8BITDO_SN30_PRO_BT:
239-
case USB_PRODUCT_8BITDO_SF30_PRO_BT:
237+
case USB_PRODUCT_8BITDO_SN30_PRO_BT:
238+
case USB_PRODUCT_8BITDO_SF30_PRO_BT:
240239
return 90; // Observed to be anywhere between 60-90 hz. Possibly lossy in current state
241240
case USB_PRODUCT_8BITDO_SF30_PRO:
242241
case USB_PRODUCT_8BITDO_SN30_PRO:
@@ -569,7 +568,7 @@ static void HIDAPI_Driver8BitDo_HandleStatePacket(SDL_Joystick *joystick, SDL_Dr
569568
delta = (SDL_MAX_UINT32 - ctx->last_tick + tick + 1);
570569
}
571570
ctx->sensor_timestamp_interval = SDL_US_TO_NS(delta);
572-
}
571+
}
573572
ctx->last_tick = tick;
574573
}
575574

0 commit comments

Comments
 (0)