key_joystick_mapping = 0;
for (i = 0; i < MAX_PLAYERS; i++)
stored_player[i].action = 0;
+
+ ClearJoystickState();
}
void SleepWhileUnmapped()
int i;
#if defined(TARGET_SDL2)
- /* map special "play/pause" media key to default key for play/pause actions */
+ /* map special keys (media keys / remote control buttons) to default keys */
if (key == KSYM_PlayPause)
key = KSYM_space;
+ else if (key == KSYM_Select)
+ key = KSYM_Return;
#endif
HandleSpecialGameControllerKeys(key, key_status);