src/video/windib/SDL_vkeys.h
author Sam Lantinga <slouken@libsdl.org>
Thu, 19 Jan 2006 09:09:32 +0000
changeset 1253 7c7ddaf195bf
parent 769 b8d311d90021
child 1312 c9b51268668f
permissions -rw-r--r--
Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP
This is a collaborative effort between Alex Volkov and John Popplewell.
Thanks guys! (Fixes bug #39)
slouken@0
     1
/*
slouken@0
     2
    SDL - Simple DirectMedia Layer
slouken@769
     3
    Copyright (C) 1997-2004 Sam Lantinga
slouken@0
     4
slouken@0
     5
    This library is free software; you can redistribute it and/or
slouken@0
     6
    modify it under the terms of the GNU Library General Public
slouken@0
     7
    License as published by the Free Software Foundation; either
slouken@0
     8
    version 2 of the License, or (at your option) any later version.
slouken@0
     9
slouken@0
    10
    This library is distributed in the hope that it will be useful,
slouken@0
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@0
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@0
    13
    Library General Public License for more details.
slouken@0
    14
slouken@0
    15
    You should have received a copy of the GNU Library General Public
slouken@0
    16
    License along with this library; if not, write to the Free
slouken@0
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@0
    18
slouken@0
    19
    Sam Lantinga
slouken@252
    20
    slouken@libsdl.org
slouken@0
    21
*/
slouken@0
    22
slouken@0
    23
#ifdef SAVE_RCSID
slouken@0
    24
static char rcsid =
slouken@0
    25
 "@(#) $Id$";
slouken@0
    26
#endif
slouken@0
    27
slouken@0
    28
#ifndef VK_0
slouken@0
    29
#define VK_0	'0'
slouken@0
    30
#define VK_1	'1'
slouken@0
    31
#define VK_2	'2'
slouken@0
    32
#define VK_3	'3'
slouken@0
    33
#define VK_4	'4'
slouken@0
    34
#define VK_5	'5'
slouken@0
    35
#define VK_6	'6'
slouken@0
    36
#define VK_7	'7'
slouken@0
    37
#define VK_8	'8'
slouken@0
    38
#define VK_9	'9'
slouken@0
    39
#define VK_A	'A'
slouken@0
    40
#define VK_B	'B'
slouken@0
    41
#define VK_C	'C'
slouken@0
    42
#define VK_D	'D'
slouken@0
    43
#define VK_E	'E'
slouken@0
    44
#define VK_F	'F'
slouken@0
    45
#define VK_G	'G'
slouken@0
    46
#define VK_H	'H'
slouken@0
    47
#define VK_I	'I'
slouken@0
    48
#define VK_J	'J'
slouken@0
    49
#define VK_K	'K'
slouken@0
    50
#define VK_L	'L'
slouken@0
    51
#define VK_M	'M'
slouken@0
    52
#define VK_N	'N'
slouken@0
    53
#define VK_O	'O'
slouken@0
    54
#define VK_P	'P'
slouken@0
    55
#define VK_Q	'Q'
slouken@0
    56
#define VK_R	'R'
slouken@0
    57
#define VK_S	'S'
slouken@0
    58
#define VK_T	'T'
slouken@0
    59
#define VK_U	'U'
slouken@0
    60
#define VK_V	'V'
slouken@0
    61
#define VK_W	'W'
slouken@0
    62
#define VK_X	'X'
slouken@0
    63
#define VK_Y	'Y'
slouken@0
    64
#define VK_Z	'Z'
slouken@0
    65
#endif /* VK_0 */
slouken@0
    66
slouken@0
    67
/* These keys haven't been defined, but were experimentally determined */
slouken@0
    68
#define VK_SEMICOLON	0xBA
slouken@327
    69
#define VK_EQUALS	0xBB
slouken@327
    70
#define VK_COMMA	0xBC
slouken@327
    71
#define VK_MINUS	0xBD
slouken@327
    72
#define VK_PERIOD	0xBE
slouken@327
    73
#define VK_SLASH	0xBF
slouken@327
    74
#define VK_GRAVE	0xC0
slouken@327
    75
#define VK_LBRACKET	0xDB
slouken@0
    76
#define VK_BACKSLASH	0xDC
slouken@327
    77
#define VK_RBRACKET	0xDD
slouken@0
    78
#define VK_APOSTROPHE	0xDE
slouken@327
    79
#define VK_BACKTICK	0xDF
slouken@1253
    80
#define VK_OEM_102	0xE2