mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
ADDED: SetGamepadMappings() #1506
This commit is contained in:
@ -2976,6 +2976,14 @@ int GetGamepadButtonPressed(void)
|
||||
return CORE.Input.Gamepad.lastButtonPressed;
|
||||
}
|
||||
|
||||
// Set internal gamepad mappings
|
||||
int SetGamepadMappings(const char *mappings)
|
||||
{
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
return glfwUpdateGamepadMappings(mappings);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Detect if a mouse button has been pressed once
|
||||
bool IsMouseButtonPressed(int button)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user