mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Fix gamepad binds on non-windows.
Removes unneeded #ifdef that was preventing gamepad binds from being found in non-windows builds.
This commit is contained in:
parent
cc5359fdfd
commit
186efd5c87
1 changed files with 1 additions and 3 deletions
|
|
@ -382,8 +382,7 @@ CodeMapping gVirtualMap[] =
|
||||||
{ "lpov2", SI_POV, SI_LPOV2 },
|
{ "lpov2", SI_POV, SI_LPOV2 },
|
||||||
{ "rpov2", SI_POV, SI_RPOV2 },
|
{ "rpov2", SI_POV, SI_RPOV2 },
|
||||||
|
|
||||||
#if defined( TORQUE_OS_WIN )
|
//-------------------------------------- GAMEPAD EVENTS
|
||||||
//-------------------------------------- XINPUT EVENTS
|
|
||||||
// Controller connect / disconnect:
|
// Controller connect / disconnect:
|
||||||
{ "connect", SI_BUTTON, XI_CONNECT },
|
{ "connect", SI_BUTTON, XI_CONNECT },
|
||||||
|
|
||||||
|
|
@ -420,7 +419,6 @@ CodeMapping gVirtualMap[] =
|
||||||
{ "btn_b", SI_BUTTON, XI_B },
|
{ "btn_b", SI_BUTTON, XI_B },
|
||||||
{ "btn_x", SI_BUTTON, XI_X },
|
{ "btn_x", SI_BUTTON, XI_X },
|
||||||
{ "btn_y", SI_BUTTON, XI_Y },
|
{ "btn_y", SI_BUTTON, XI_Y },
|
||||||
#endif
|
|
||||||
|
|
||||||
//-------------------------------------- MISCELLANEOUS EVENTS
|
//-------------------------------------- MISCELLANEOUS EVENTS
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue