Move SetGamepadMappings out of rcore
This commit is contained in:
parent
6809f06b55
commit
4c59791903
1 changed files with 24 additions and 20 deletions
12
src/rcore.c
12
src/rcore.c
|
|
@ -2022,18 +2022,6 @@ int GetGamepadButtonPressed(void)
|
|||
return CORE.Input.Gamepad.lastButtonPressed;
|
||||
}
|
||||
|
||||
// Set internal gamepad mappings
|
||||
int SetGamepadMappings(const char *mappings)
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
result = glfwUpdateGamepadMappings(mappings);
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// Check if a mouse button has been pressed once
|
||||
bool IsMouseButtonPressed(int button)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue