Search
lxdream.org :: lxdream/src/dckeysyms.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/dckeysyms.h
changeset 608:4f588e52bce0
next611:0c5f53a87501
author nkeynes
date Sat Jan 26 02:45:27 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Bug #50: Implement mouse and keyboard
file annotate diff log raw
nkeynes@608
     1
/**
nkeynes@608
     2
 * $Id: dckeysyms.h 602 2008-01-15 20:50:23Z nkeynes $
nkeynes@608
     3
 *
nkeynes@608
     4
 * Keysym definitions for the dreamcast keyboard.
nkeynes@608
     5
 *
nkeynes@608
     6
 * Copyright (c) 2005 Nathan Keynes.
nkeynes@608
     7
 *
nkeynes@608
     8
 * This program is free software; you can redistribute it and/or modify
nkeynes@608
     9
 * it under the terms of the GNU General Public License as published by
nkeynes@608
    10
 * the Free Software Foundation; either version 2 of the License, or
nkeynes@608
    11
 * (at your option) any later version.
nkeynes@608
    12
 *
nkeynes@608
    13
 * This program is distributed in the hope that it will be useful,
nkeynes@608
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
nkeynes@608
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
nkeynes@608
    16
 * GNU General Public License for more details.
nkeynes@608
    17
 */
nkeynes@608
    18
nkeynes@608
    19
#ifndef lxdream_dckeysyms_H
nkeynes@608
    20
#define lxdream_dckeysyms_H 1
nkeynes@608
    21
nkeynes@608
    22
nkeynes@608
    23
#define DCKB_NONE       0x00
nkeynes@608
    24
#define DCKB_ERROR      0x01
nkeynes@608
    25
#define DCKB_A          0x04
nkeynes@608
    26
#define DCKB_B          0x05
nkeynes@608
    27
#define DCKB_C          0x06
nkeynes@608
    28
#define DCKB_D          0x07
nkeynes@608
    29
#define DCKB_E          0x08
nkeynes@608
    30
#define DCKB_F          0x09
nkeynes@608
    31
#define DCKB_G          0x0A
nkeynes@608
    32
#define DCKB_H          0x0B
nkeynes@608
    33
#define DCKB_I          0x0C
nkeynes@608
    34
#define DCKB_J          0x0D
nkeynes@608
    35
#define DCKB_K          0x0E
nkeynes@608
    36
#define DCKB_L          0x0F
nkeynes@608
    37
#define DCKB_M          0x10
nkeynes@608
    38
#define DCKB_N          0x11
nkeynes@608
    39
#define DCKB_O          0x12
nkeynes@608
    40
#define DCKB_P          0x13
nkeynes@608
    41
#define DCKB_Q          0x14
nkeynes@608
    42
#define DCKB_R          0x15
nkeynes@608
    43
#define DCKB_S          0x16
nkeynes@608
    44
#define DCKB_T          0x17
nkeynes@608
    45
#define DCKB_U          0x18
nkeynes@608
    46
#define DCKB_V          0x19
nkeynes@608
    47
#define DCKB_W          0x1A
nkeynes@608
    48
#define DCKB_X          0x1B
nkeynes@608
    49
#define DCKB_Y          0x1C
nkeynes@608
    50
#define DCKB_Z          0x1D
nkeynes@608
    51
#define DCKB_1          0x1E
nkeynes@608
    52
#define DCKB_2          0x1F
nkeynes@608
    53
#define DCKB_3          0x20
nkeynes@608
    54
#define DCKB_4          0x21
nkeynes@608
    55
#define DCKB_5          0x22
nkeynes@608
    56
#define DCKB_6          0x23
nkeynes@608
    57
#define DCKB_7          0x24
nkeynes@608
    58
#define DCKB_8          0x25
nkeynes@608
    59
#define DCKB_9          0x26
nkeynes@608
    60
#define DCKB_0          0x27
nkeynes@608
    61
#define DCKB_ENTER      0x28
nkeynes@608
    62
#define DCKB_ESCAPE     0x29
nkeynes@608
    63
#define DCKB_BACKSPACE  0x2A
nkeynes@608
    64
#define DCKB_TAB        0x2B
nkeynes@608
    65
#define DCKB_SPACE      0x2C
nkeynes@608
    66
#define DCKB_MINUS      0x2D
nkeynes@608
    67
#define DCKB_EQUAL      0x2E
nkeynes@608
    68
#define DCKB_LBRACKET   0x2F
nkeynes@608
    69
#define DCKB_RBRACKET   0x30
nkeynes@608
    70
#define DCKB_BACKSLASH  0x31
nkeynes@608
    71
#define DCKB_SEMICOLON  0x33
nkeynes@608
    72
#define DCKB_QUOTE      0x34
nkeynes@608
    73
#define DCKB_BACKQUOTE  0x35
nkeynes@608
    74
#define DCKB_COMMA      0x36
nkeynes@608
    75
#define DCKB_PERIOD     0x37
nkeynes@608
    76
#define DCKB_SLASH      0x38
nkeynes@608
    77
#define DCKB_CAPSLOCK   0x39
nkeynes@608
    78
#define DCKB_F1         0x3A
nkeynes@608
    79
#define DCKB_F2         0x3B
nkeynes@608
    80
#define DCKB_F3         0x3C
nkeynes@608
    81
#define DCKB_F4         0x3D
nkeynes@608
    82
#define DCKB_F5         0x3E
nkeynes@608
    83
#define DCKB_F6         0x3F
nkeynes@608
    84
#define DCKB_F7         0x40
nkeynes@608
    85
#define DCKB_F8         0x41
nkeynes@608
    86
#define DCKB_F9         0x42
nkeynes@608
    87
#define DCKB_F10        0x43
nkeynes@608
    88
#define DCKB_F11        0x44
nkeynes@608
    89
#define DCKB_F12        0x45
nkeynes@608
    90
#define DCKB_PRINTSCR   0x46
nkeynes@608
    91
#define DCKB_SCROLLLOCK 0x47
nkeynes@608
    92
#define DCKB_PAUSE      0x48
nkeynes@608
    93
#define DCKB_INSERT     0x49
nkeynes@608
    94
#define DCKB_HOME       0x4A
nkeynes@608
    95
#define DCKB_PAGEUP     0x4B
nkeynes@608
    96
#define DCKB_DELETE     0x4C
nkeynes@608
    97
#define DCKB_END        0x4D
nkeynes@608
    98
#define DCKB_PAGEDOWN   0x4E
nkeynes@608
    99
#define DCKB_RIGHT      0x4F
nkeynes@608
   100
#define DCKB_LEFT       0x50
nkeynes@608
   101
#define DCKB_DOWN       0x51
nkeynes@608
   102
#define DCKB_UP         0x52
nkeynes@608
   103
#define DCKB_NUMLOCK    0x53
nkeynes@608
   104
#define DCKB_KP_SLASH   0x54
nkeynes@608
   105
#define DCKB_KP_STAR    0x55
nkeynes@608
   106
#define DCKB_KP_MINUS   0x56
nkeynes@608
   107
#define DCKB_KP_PLUS    0x57
nkeynes@608
   108
#define DCKB_KP_ENTER   0x58
nkeynes@608
   109
#define DCKB_KP_1       0x59
nkeynes@608
   110
#define DCKB_KP_2       0x5A
nkeynes@608
   111
#define DCKB_KP_3       0x5B
nkeynes@608
   112
#define DCKB_KP_4       0x5C
nkeynes@608
   113
#define DCKB_KP_5       0x5D
nkeynes@608
   114
#define DCKB_KP_6       0x5E
nkeynes@608
   115
#define DCKB_KP_7       0x5F
nkeynes@608
   116
#define DCKB_KP_8       0x60
nkeynes@608
   117
#define DCKB_KP_9       0x61
nkeynes@608
   118
#define DCKB_KP_0       0x62
nkeynes@608
   119
#define DCKB_KP_PERIOD  0x63
nkeynes@608
   120
#define DCKB_S3         0x65
nkeynes@608
   121
nkeynes@608
   122
/* Modifier keys */
nkeynes@608
   123
nkeynes@608
   124
#define DCKB_CONTROL_L  0xFF01
nkeynes@608
   125
#define DCKB_SHIFT_L    0xFF02
nkeynes@608
   126
#define DCKB_ALT_L      0xFF04
nkeynes@608
   127
#define DCKB_S1         0xFF08
nkeynes@608
   128
#define DCKB_CONTROL_R  0xFF10
nkeynes@608
   129
#define DCKB_SHIFT_R    0xFF20
nkeynes@608
   130
#define DCKB_ALT_R      0xFF40
nkeynes@608
   131
#define DCKB_S2         0xFF80
nkeynes@608
   132
nkeynes@608
   133
#endif /* !lxdream_dckeysyms_H */
.