reset joystick id when closing
This commit is contained in:
1 parent
e2ec2ff4de
commit
a2e12767ce
1 file changed
+1
@@ -412,6 +412,7 @@ static void JoyReset(SDLJoyInfo_t *JoySet)
|
||||
}
|
||||
JoySet->dev = NULL;
|
||||
JoySet->oldjoy = -1;
|
||||
JoySet->id = -1;
|
||||
JoySet->axises = JoySet->buttons = JoySet->hats = JoySet->balls = 0;
|
||||
//JoySet->scale
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user