diff options
Diffstat (limited to 'src/rcore_web.c')
| -rw-r--r-- | src/rcore_web.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/rcore_web.c b/src/rcore_web.c index 83acae02..ed7dc265 100644 --- a/src/rcore_web.c +++ b/src/rcore_web.c @@ -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 |
