shithub: cstory

Download patch

ref: b5699d976026e3c02f54727056efac0986e1be68
parent: 9f181c1864afe8034fd4dfcd94043972a0220702
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu May 9 14:45:28 EDT 2019

SDL's docs specifically calls these 'scancodes' not 'scan codes'

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -490,7 +490,7 @@
 #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: