summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-01-21 14:39:03 +0100
committerRay <[email protected]>2021-01-21 14:39:03 +0100
commit18ab694f703ee4b185935b5bdd5a533ea05933d2 (patch)
tree40d2bed4401e203ae5718de5d8015702878d3cdd /src/raylib.h
parent677f420bf00d346b8b5a84ac17beaf70111dbf2b (diff)
downloadraylib-18ab694f703ee4b185935b5bdd5a533ea05933d2.tar.gz
raylib-18ab694f703ee4b185935b5bdd5a533ea05933d2.zip
ADDED: SetGamepadMappings() #1506
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 24992a4f..4e72fb6b 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1035,6 +1035,7 @@ RLAPI bool IsGamepadButtonUp(int gamepad, int button); // Detect if a gam
RLAPI int GetGamepadButtonPressed(void); // Get the last gamepad button pressed
RLAPI int GetGamepadAxisCount(int gamepad); // Return gamepad axis count for a gamepad
RLAPI float GetGamepadAxisMovement(int gamepad, int axis); // Return axis movement value for a gamepad axis
+RLAPI int SetGamepadMappings(const char *mappings); // Set internal gamepad mappings (SDL_GameControllerDB)
// Input-related functions: mouse
RLAPI bool IsMouseButtonPressed(int button); // Detect if a mouse button has been pressed once