Skip to content

Commit

Permalink
We don't know whether the PS5 controller is Bluetooth or not when we …
Browse files Browse the repository at this point in the history
…open it
  • Loading branch information
slouken committed Nov 30, 2020
1 parent 04f0fd1 commit f4ed07d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/joystick/hidapi/SDL_hidapi_ps5.c
Expand Up @@ -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);
Expand Down

0 comments on commit f4ed07d

Please sign in to comment.