[client] kb: rename key code arrays from xfree86_* to linux_*

We are using Linux key codes defined in input-event-codes.h, not XFree86
stuff.
This commit is contained in:
Quantum
2021-08-17 04:41:21 -04:00
committed by Geoffrey McRae
parent ccda264648
commit 1c7d14169e
6 changed files with 15 additions and 15 deletions

View File

@@ -56,7 +56,7 @@ static int help_render(void * udata, bool interactive, struct Rect * windowRects
if (igBeginTable("Help", 2, 0, (ImVec2) { 0.0f, 0.0f }, 0.0f))
{
const char * escapeName = xfree86_to_display[g_params.escapeKey];
const char * escapeName = linux_to_display[g_params.escapeKey];
igTableNextColumn();
igText("%s", escapeName);
@@ -67,7 +67,7 @@ static int help_render(void * udata, bool interactive, struct Rect * windowRects
if (g_state.keyDescription[i])
{
igTableNextColumn();
igText("%s+%s", escapeName, xfree86_to_display[i]);
igText("%s+%s", escapeName, linux_to_display[i]);
igTableNextColumn();
igText(g_state.keyDescription[i]);
}