Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

The table is now a scancode mapping table, not a virtual key mapping …

…table
  • Loading branch information
slouken committed Mar 1, 2013
1 parent 756ff05 commit 7acd94972b570b1eea8065ad2ad6d60e2f53389f
Showing with 1 addition and 7 deletions.
  1. +1 −7 src/events/scancodes_windows.h
@@ -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 @@ static const SDL_Scancode windows_scancode_table[] =
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* */

0 comments on commit 7acd949

Please sign in to comment.