mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-15 22:36:01 +00:00
Move SetExitKey from core to android, desktop, web
This commit is contained in:
@@ -1512,6 +1512,13 @@ int GetMonitorPhysicalWidth(int monitor)
|
||||
return 0;
|
||||
}
|
||||
|
||||
// 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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user