The table is now a scancode mapping table, not a virtual key mapping table
authorSam Lantinga
Thu, 28 Feb 2013 21:48:12 -0800
changeset 693906a72f2f8b16
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
     1.1 --- a/src/events/scancodes_windows.h	Thu Feb 28 21:40:08 2013 -0800
     1.2 +++ b/src/events/scancodes_windows.h	Thu Feb 28 21:48:12 2013 -0800
     1.3 @@ -20,13 +20,8 @@
     1.4  */
     1.5  #include "../../include/SDL_scancode.h"
     1.6  
     1.7 -/* Win32 virtual key code to SDL scancode mapping table
     1.8 -   Sources:
     1.9 -   - msdn.microsoft.com
    1.10 -*/
    1.11 +/* Windows scancode to SDL scancode mapping table */
    1.12  /* *INDENT-OFF* */
    1.13 -// this maps non-translated keyboard scan codes to engine key codes
    1.14 -// Google for 'Keyboard Scan Code Specification'
    1.15  static const SDL_Scancode windows_scancode_table[] = 
    1.16  { 
    1.17  	//	0						1							2							3							4						5							6							7 
    1.18 @@ -55,5 +50,4 @@
    1.19  	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
    1.20  	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 
    1.21  };
    1.22 -
    1.23  /* *INDENT-ON* */