(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 1d567c8e5860
parent 1427 4c6026590971
child 1429 076726686ab2
(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