[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

@@ -333,7 +333,7 @@ void app_handleKeyPress(int sc)
if (!g_state.keyDown[sc])
{
uint32_t ps2 = xfree86_to_ps2[sc];
uint32_t ps2 = linux_to_ps2[sc];
if (!ps2)
return;
@@ -386,7 +386,7 @@ void app_handleKeyRelease(int sc)
if (g_params.ignoreWindowsKeys && (sc == KEY_LEFTMETA || sc == KEY_RIGHTMETA))
return;
uint32_t ps2 = xfree86_to_ps2[sc];
uint32_t ps2 = linux_to_ps2[sc];
if (!ps2)
return;