From f4ed07de066b456074c49025c921b53097a9492c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 30 Nov 2020 13:02:34 -0800 Subject: [PATCH] We don't know whether the PS5 controller is Bluetooth or not when we open it --- src/joystick/hidapi/SDL_hidapi_ps5.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_hidapi_ps5.c b/src/joystick/hidapi/SDL_hidapi_ps5.c index a6825eb8b..21e1dfbc4 100644 --- a/src/joystick/hidapi/SDL_hidapi_ps5.c +++ b/src/joystick/hidapi/SDL_hidapi_ps5.c @@ -545,7 +545,6 @@ HIDAPI_DriverPS5_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystick *joystick) /* Initialize the joystick capabilities */ joystick->nbuttons = 17; joystick->naxes = SDL_CONTROLLER_AXIS_MAX; - joystick->epowerlevel = SDL_JOYSTICK_POWER_WIRED; SDL_PrivateJoystickAddTouchpad(joystick, 2); SDL_PrivateJoystickAddSensor(joystick, SDL_SENSOR_GYRO);