mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-26 04:58:30 +00:00
Added gamepad functions as generic for all platforms
This commit is contained in:
@@ -1222,18 +1222,6 @@ void OpenURL(const char *url)
|
||||
// Module Functions Definition: Inputs
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Get gamepad internal name id
|
||||
const char *GetGamepadName(int gamepad)
|
||||
{
|
||||
return CORE.Input.Gamepad.name[gamepad];
|
||||
}
|
||||
|
||||
// Get gamepad axis count
|
||||
int GetGamepadAxisCount(int gamepad)
|
||||
{
|
||||
return CORE.Input.Gamepad.axisCount;
|
||||
}
|
||||
|
||||
// Set internal gamepad mappings
|
||||
int SetGamepadMappings(const char *mappings)
|
||||
{
|
||||
|
Reference in New Issue
Block a user