src/video/win32/SDL_vkeys.h
author Sam Lantinga <slouken@libsdl.org>
Wed, 27 Jan 2010 05:14:22 +0000
changeset 3700 076c12750bc4
parent 3697 f7b03b6838cb
permissions -rw-r--r--
Fixed bug #743

The arrow keys and keypad arrow keys have almost the same scancodes!
slouken@1895
     1
/*
slouken@1895
     2
    SDL - Simple DirectMedia Layer
slouken@3697
     3
    Copyright (C) 1997-2010 Sam Lantinga
slouken@1895
     4
slouken@1895
     5
    This library is free software; you can redistribute it and/or
slouken@1895
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1895
     7
    License as published by the Free Software Foundation; either
slouken@1895
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1895
     9
slouken@1895
    10
    This library is distributed in the hope that it will be useful,
slouken@1895
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1895
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1895
    13
    Lesser General Public License for more details.
slouken@1895
    14
slouken@1895
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1895
    16
    License along with this library; if not, write to the Free Software
slouken@1895
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1895
    18
slouken@1895
    19
    Sam Lantinga
slouken@1895
    20
    slouken@libsdl.org
slouken@1895
    21
*/
slouken@1895
    22
slouken@1895
    23
#ifndef VK_0
slouken@1895
    24
#define VK_0	'0'
slouken@1895
    25
#define VK_1	'1'
slouken@1895
    26
#define VK_2	'2'
slouken@1895
    27
#define VK_3	'3'
slouken@1895
    28
#define VK_4	'4'
slouken@1895
    29
#define VK_5	'5'
slouken@1895
    30
#define VK_6	'6'
slouken@1895
    31
#define VK_7	'7'
slouken@1895
    32
#define VK_8	'8'
slouken@1895
    33
#define VK_9	'9'
slouken@1895
    34
#define VK_A	'A'
slouken@1895
    35
#define VK_B	'B'
slouken@1895
    36
#define VK_C	'C'
slouken@1895
    37
#define VK_D	'D'
slouken@1895
    38
#define VK_E	'E'
slouken@1895
    39
#define VK_F	'F'
slouken@1895
    40
#define VK_G	'G'
slouken@1895
    41
#define VK_H	'H'
slouken@1895
    42
#define VK_I	'I'
slouken@1895
    43
#define VK_J	'J'
slouken@1895
    44
#define VK_K	'K'
slouken@1895
    45
#define VK_L	'L'
slouken@1895
    46
#define VK_M	'M'
slouken@1895
    47
#define VK_N	'N'
slouken@1895
    48
#define VK_O	'O'
slouken@1895
    49
#define VK_P	'P'
slouken@1895
    50
#define VK_Q	'Q'
slouken@1895
    51
#define VK_R	'R'
slouken@1895
    52
#define VK_S	'S'
slouken@1895
    53
#define VK_T	'T'
slouken@1895
    54
#define VK_U	'U'
slouken@1895
    55
#define VK_V	'V'
slouken@1895
    56
#define VK_W	'W'
slouken@1895
    57
#define VK_X	'X'
slouken@1895
    58
#define VK_Y	'Y'
slouken@1895
    59
#define VK_Z	'Z'
slouken@1895
    60
#endif /* VK_0 */
slouken@1895
    61
slouken@1895
    62
/* These keys haven't been defined, but were experimentally determined */
slouken@1895
    63
#define VK_SEMICOLON	0xBA
slouken@1895
    64
#define VK_EQUALS	0xBB
slouken@1895
    65
#define VK_COMMA	0xBC
slouken@1895
    66
#define VK_MINUS	0xBD
slouken@1895
    67
#define VK_PERIOD	0xBE
slouken@1895
    68
#define VK_SLASH	0xBF
slouken@1895
    69
#define VK_GRAVE	0xC0
slouken@1895
    70
#define VK_LBRACKET	0xDB
slouken@1895
    71
#define VK_BACKSLASH	0xDC
slouken@1895
    72
#define VK_RBRACKET	0xDD
slouken@1895
    73
#define VK_APOSTROPHE	0xDE
slouken@1895
    74
#define VK_BACKTICK	0xDF
slouken@1895
    75
#define VK_OEM_102	0xE2
slouken@3700
    76
slouken@1895
    77
/* vi: set ts=4 sw=4 expandtab: */