(svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X.
authorpasky
Sun, 06 Mar 2005 00:39:38 +0000
changeset 1428 91f318d6a490
parent 1427 dde1e3b304dd
child 1429 ae1a7e41277b
(svn r1932) Fix: [SDL] On Linux console, the backquote scancode is 41. Let's hope nothing conflicts with it in X.
sdl.c
--- a/sdl.c	Sat Mar 05 22:21:43 2005 +0000
+++ b/sdl.c	Sun Mar 06 00:39:38 2005 +0000
@@ -430,6 +430,7 @@
 	if (sym->scancode == 60) key |= WKC_BACKQUOTE;
 	if (sym->scancode == 49) key |= WKC_BACKSPACE;
 #else
+	if (sym->scancode == 41) key |= WKC_BACKQUOTE; // Linux console
 	if (sym->scancode == 49) key |= WKC_BACKQUOTE;
 #endif