From b5699d976026e3c02f54727056efac0986e1be68 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 9 May 2019 18:45:28 +0100 Subject: [PATCH] SDL's docs specifically calls these 'scancodes' not 'scan codes' --- src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cpp b/src/Main.cpp index a8b3137c..87d32b45 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -490,7 +490,7 @@ bool SystemTask() #ifdef FIX_BUGS // BUG FIX: Pixel relied on key codes for input, but these differ based on keyboard layout. // This would break the alternate movement keys on typical English keyboards, since the '=' key is in a completely different place to where it is on a Japanese keyboard. - // To solve this, we use scan codes instead, which are based on the physical location of keys, rather than their meaning. + // To solve this, we use scancodes instead, which are based on the physical location of keys, rather than their meaning. switch (event.key.keysym.scancode) { case SDL_SCANCODE_ESCAPE: