1
Window / Re: Joystick input when out of focus
« on: November 14, 2020, 07:04:21 pm »Does everything work as expected when the window has focus?
Also, what's your OS and joystick model? Version of SFML?
Yes, everything works fine on focus, but the goal of the application was to work on the background. I tried the SDL library and it has a function to fix this:
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
Is there anything similar to that in SFML? I'm on Windows 10 using a Xbox One Controller, and SFML version is 2.5.1. Also I'm using MinGW