mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-29 10:21:46 +00:00
[client] keybind: use physical keycodes for layout-independent hotkeys
Fixes #1298
This commit is contained in:
@@ -53,7 +53,7 @@ static void fps_earlyInit(void)
|
||||
|
||||
static bool fps_init(void ** udata, const void * params)
|
||||
{
|
||||
app_registerKeybind(0, 'D', showFPSKeybind, NULL, "FPS display toggle");
|
||||
app_registerKeybind(KEY_D, showFPSKeybind, NULL, "FPS display toggle");
|
||||
showFPS = option_get_bool("win", "showFPS");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user