JOY_1 -> JOY_BUTTON_1. I've confused DEVICE_JOY1 with JOY_1 many times.

This commit is contained in:
Chris Danford
2005-09-12 08:48:16 +00:00
parent f98cae8ae1
commit 6c2233fd03
4 changed files with 142 additions and 142 deletions
+2 -2
View File
@@ -189,8 +189,8 @@ void ScreenMapControllers::Input( const InputEventPlus &input )
button = KEY_ENTER;
else if( input.DeviceI.button == JOY_AUX_2 )
button = KEY_ESC;
else if( input.DeviceI.button == JOY_1 || input.DeviceI.button == JOY_2 ||
input.DeviceI.button == JOY_3 || input.DeviceI.button == JOY_4 )
else if( input.DeviceI.button == JOY_BUTTON_1 || input.DeviceI.button == JOY_BUTTON_2 ||
input.DeviceI.button == JOY_BUTTON_3 || input.DeviceI.button == JOY_BUTTON_4 )
button = KEY_DEL;
}
#endif