Move SetGamepadMappings out of rcore
This commit is contained in:
parent
6809f06b55
commit
4c59791903
1 changed files with 24 additions and 20 deletions
|
|
@ -1508,7 +1508,6 @@ const char *GetGamepadName(int gamepad)
|
|||
return name;
|
||||
}
|
||||
|
||||
|
||||
// Get selected monitor physical width in millimetres
|
||||
int GetMonitorPhysicalWidth(int monitor)
|
||||
{
|
||||
|
|
@ -1525,9 +1524,14 @@ int GetMonitorPhysicalWidth(int monitor)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
// Get gamepad axis count
|
||||
int GetGamepadAxisCount(int gamepad)
|
||||
{
|
||||
return CORE.Input.Gamepad.axisCount;
|
||||
}
|
||||
|
||||
// Set internal gamepad mappings
|
||||
int SetGamepadMappings(const char *mappings)
|
||||
{
|
||||
return glfwUpdateGamepadMappings(mappings);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue