EMI: Tell the game there is not joystick connected

This commit is contained in:
Joel Teichroeb 2011-05-15 01:40:02 +08:00 committed by Pawel Kolodziejski
parent 43eee42916
commit ba2840cfa9

View File

@ -312,6 +312,9 @@ const ControlDescriptor controls[] = {
{ "KEY_JOY2_LMUSHROOM", KEYCODE_JOY2_B15 }, { "KEY_JOY2_LMUSHROOM", KEYCODE_JOY2_B15 },
{ "KEY_JOY2_RMUSHROOM", KEYCODE_JOY2_B16 }, { "KEY_JOY2_RMUSHROOM", KEYCODE_JOY2_B16 },
// tell EMI there is no joystick selected
{ "joy_selected", -1 },
{ NULL, 0 } { NULL, 0 }
}; };