XInput support

This commit is contained in:
elasota
2019-12-29 17:39:19 -05:00
parent 430842d17b
commit 77441c19fd
31 changed files with 856 additions and 76 deletions

View File

@@ -140,6 +140,10 @@ void VariableInit (void)
theGlider2.rightKey = PL_KEY_ASCII('D');
theGlider2.battKey = PL_KEY_ASCII('S');
theGlider2.bandKey = PL_KEY_ASCII('W');
theGlider2.gamepadLeftKey = PL_KEY_GAMEPAD_BUTTON(kDPadLeft, 1);
theGlider2.gamepadRightKey = PL_KEY_GAMEPAD_BUTTON(kDPadRight, 1);
theGlider2.gamepadBandKey = PL_KEY_GAMEPAD_BUTTON(kFaceDown, 1);
theGlider2.gamepadBattKey = PL_KEY_GAMEPAD_BUTTON(kFaceLeft, 1);
theGlider2.which = kPlayer2;
theMode = kSplashMode;