mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 13:22:02 +00:00
[client] keybind: use physical keycodes for layout-independent hotkeys
Fixes #1298
This commit is contained in:
@@ -70,10 +70,7 @@ static int help_render(void * udata, bool interactive, struct Rect * windowRects
|
||||
continue;
|
||||
|
||||
igTableNextColumn();
|
||||
if (handle->sc)
|
||||
igText("%s+%s", escapeName, linux_to_display[handle->sc]);
|
||||
else
|
||||
igText("%s+%c", escapeName, handle->charcode);
|
||||
igText("%s+%s", escapeName, linux_to_display[handle->sc]);
|
||||
igTableNextColumn();
|
||||
igTextUnformatted(handle->description, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user