The DualShock 4 is connected via bluetooth.
Wine does not recognizes it as XInput, but only as DInput.
This causes games not recognizing the controller at all.
Instead, If I force the SDL input, then the DualShcok 4 is presented as a XBox controller and recognized as XInput also.
Code: Select all
SDL_JOYSTICK_DEVICE=/dev/input/js0 wine control


Interestingly, when using SDL_JOYSTICK_DEVICE=/dev/input/js0, I get two devices recognized by SDL2 Gamepad Mapper:
Code: Select all
SDL_JOYSTICK_DEVICE=/dev/input/js0 sdl2-gamepad-mapper
