The table is now a scancode mapping table, not a virtual key mapping table
authorSam Lantinga <slouken@libsdl.org>
Thu, 28 Feb 2013 21:48:12 -0800
changeset 6939 06a72f2f8b16
parent 6938 b272d47f70a7
child 6940 142dcc136188
The table is now a scancode mapping table, not a virtual key mapping table
src/events/scancodes_windows.h
--- a/src/events/scancodes_windows.h	Thu Feb 28 21:40:08 2013 -0800
+++ b/src/events/scancodes_windows.h	Thu Feb 28 21:48:12 2013 -0800
@@ -20,13 +20,8 @@
 */
 #include "../../include/SDL_scancode.h"
 
-/* Win32 virtual key code to SDL scancode mapping table
-   Sources:
-   - msdn.microsoft.com
-*/
+/* Windows scancode to SDL scancode mapping table */
 /* *INDENT-OFF* */
-// this maps non-translated keyboard scan codes to engine key codes
-// Google for 'Keyboard Scan Code Specification'
 static const SDL_Scancode windows_scancode_table[] = 
 { 
 	//	0						1							2							3							4						5							6							7 
@@ -55,5 +50,4 @@
 	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		// 7
 	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,	SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN,		SDL_SCANCODE_UNKNOWN		// 7 
 };
-
 /* *INDENT-ON* */