SDL: Remove default gamepad mappings

This commit is contained in:
Jeffrey Pfau 2016-02-20 23:10:31 -08:00
parent 6334e88e00
commit 6fe4c2a511
2 changed files with 1 additions and 11 deletions

View File

@ -14,6 +14,7 @@ Bugfixes:
Misc:
- GBA: Slightly optimize GBAProcessEvents
- Qt: Add preset for DualShock 4
- SDL: Remove default gamepad mappings
0.4.0: (2016-02-02)
Features:

View File

@ -148,17 +148,6 @@ void mSDLInitBindingsGBA(struct mInputMap* inputMap) {
mInputBindKey(inputMap, SDL_BINDING_KEY, SDLK_RIGHT, GBA_KEY_RIGHT);
#endif
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 13, GBA_KEY_A);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 14, GBA_KEY_B);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 10, GBA_KEY_L);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 11, GBA_KEY_R);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 3, GBA_KEY_START);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 0, GBA_KEY_SELECT);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 4, GBA_KEY_UP);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 6, GBA_KEY_DOWN);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 7, GBA_KEY_LEFT);
mInputBindKey(inputMap, SDL_BINDING_BUTTON, 5, GBA_KEY_RIGHT);
struct mInputAxis description = { GBA_KEY_RIGHT, GBA_KEY_LEFT, 0x4000, -0x4000 };
mInputBindAxis(inputMap, SDL_BINDING_BUTTON, 0, &description);
description = (struct mInputAxis) { GBA_KEY_DOWN, GBA_KEY_UP, 0x4000, -0x4000 };