ControllerInterface: replace Reinitialize with RefreshDevices
The SDL backend crashes when you close a joystick after SDL_Quit has been called. Some backends don't need to be shutdown and re-initialized everytime, we can just ask to enumerate devices again.
This commit is contained in:
1 parent
cebb4d84f2
commit
3e69d066f5
21 files changed
+79
-25
No files matched your search
@@ -11,7 +11,7 @@ namespace ciface
|
||||
{
|
||||
namespace Android
|
||||
{
|
||||
void Init();
|
||||
void PopulateDevices();
|
||||
class Touchscreen : public Core::Device
|
||||
{
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user