Added comments and review some functions #3313

This commit is contained in:
Ray
2023-10-10 11:59:41 +02:00
parent b94e6290a4
commit 101a9b0445
7 changed files with 191 additions and 143 deletions

View File

@ -697,21 +697,10 @@ void OpenURL(const char *url)
// Module Functions Definition: Inputs
//----------------------------------------------------------------------------------
// Set a custom key to exit program
// NOTE: default exitKey is ESCAPE
void SetExitKey(int key)
{
CORE.Input.Keyboard.exitKey = key;
}
// Get gamepad internal name id
const char *GetGamepadName(int gamepad)
{
const char *name = NULL;
name = CORE.Input.Gamepad.name[gamepad];
return name;
return CORE.Input.Gamepad.name[gamepad];
}
// Get gamepad axis count