Merge pull request #273 from OTHGMars/GamePad_nonwin

Fix gamepad binds on non-windows.
This commit is contained in:
Brian Roberts 2020-08-05 04:52:59 -05:00 committed by GitHub
commit 2b686bf713
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,8 +382,7 @@ CodeMapping gVirtualMap[] =
{ "lpov2", SI_POV, SI_LPOV2 },
{ "rpov2", SI_POV, SI_RPOV2 },
#if defined( TORQUE_OS_WIN )
//-------------------------------------- XINPUT EVENTS
//-------------------------------------- GAMEPAD EVENTS
// Controller connect / disconnect:
{ "connect", SI_BUTTON, XI_CONNECT },
@ -420,7 +419,6 @@ CodeMapping gVirtualMap[] =
{ "btn_b", SI_BUTTON, XI_B },
{ "btn_x", SI_BUTTON, XI_X },
{ "btn_y", SI_BUTTON, XI_Y },
#endif
//-------------------------------------- MISCELLANEOUS EVENTS
//