Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
The table is now a scancode mapping table, not a virtual key mapping …
Browse files Browse the repository at this point in the history
…table
  • Loading branch information
slouken committed Mar 1, 2013
1 parent 756ff05 commit 7acd949
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/events/scancodes_windows.h
Expand Up @@ -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
Expand Down Expand Up @@ -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.