Move SetExitKey from core to android, desktop, web
This commit is contained in:
parent
b3c2ff2905
commit
7a656ba477
4 changed files with 29 additions and 8 deletions
|
|
@ -1041,6 +1041,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;
|
||||
}
|
||||
|
||||
// NOTE: Gamepad support not implemented in emscripten GLFW3 (PLATFORM_WEB)
|
||||
|
||||
// Get gamepad internal name id
|
||||
|
|
|
|||
Loading…
Reference in a new issue