Renamed SDL_ANDROID_set_java_gamepad_keymap to SDL_ANDROID_SetGamepadKeymap, removed C and Z buttons - they do not exist on most gamepads

This commit is contained in:
Sergii Pylypenko
2013-07-30 21:10:25 +03:00
parent fdbcb421c2
commit 831ac9f0e4
2 changed files with 10 additions and 7 deletions

View File

@@ -128,7 +128,10 @@ extern DECLSPEC int SDLCALL SDL_ToggleScreenKeyboard(void *unused);
extern DECLSPEC int SDLCALL SDL_IsScreenKeyboardShown(void *unused);
extern DECLSPEC void SDLCALL SDL_ANDROID_set_java_gamepad_keymap(int A, int B, int C, int X, int Y, int Z, int L1, int R1, int L2, int R2, int LT, int RT);
/* Remap SDL keycodes returned by gamepad buttons.
Pass the SDLK_ constants, or 0 to leave old value.
On OUYA: O = A, U = X, Y = Y, A = B */
extern DECLSPEC void SDLCALL SDL_ANDROID_SetGamepadKeymap(int A, int B, int X, int Y, int L1, int R1, int L2, int R2, int LT, int RT);
#ifdef __cplusplus
}