Search
lxdream.org :: lxdream/src/dckeysyms.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/dckeysyms.h
changeset 681:1755a126b109
prev611:0c5f53a87501
author nkeynes
date Sun Feb 12 16:30:26 2012 +1000 (10 years ago)
permissions -rw-r--r--
last change Add -Werror for mregparm check, so it actually fails if mregparm isn't
accepted
file annotate diff log raw
nkeynes@608
     1
/**
nkeynes@611
     2
 * $Id$
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@681
    25
#define DCKB_a          0x04
nkeynes@681
    26
#define DCKB_b          0x05
nkeynes@681
    27
#define DCKB_c          0x06
nkeynes@681
    28
#define DCKB_d          0x07
nkeynes@681
    29
#define DCKB_e          0x08
nkeynes@681
    30
#define DCKB_f          0x09
nkeynes@681
    31
#define DCKB_g          0x0A
nkeynes@681
    32
#define DCKB_h          0x0B
nkeynes@681
    33
#define DCKB_i          0x0C
nkeynes@681
    34
#define DCKB_j          0x0D
nkeynes@681
    35
#define DCKB_k          0x0E
nkeynes@681
    36
#define DCKB_l          0x0F
nkeynes@681
    37
#define DCKB_m          0x10
nkeynes@681
    38
#define DCKB_n          0x11
nkeynes@681
    39
#define DCKB_o          0x12
nkeynes@681
    40
#define DCKB_p          0x13
nkeynes@681
    41
#define DCKB_q          0x14
nkeynes@681
    42
#define DCKB_r          0x15
nkeynes@681
    43
#define DCKB_s          0x16
nkeynes@681
    44
#define DCKB_t          0x17
nkeynes@681
    45
#define DCKB_u          0x18
nkeynes@681
    46
#define DCKB_v          0x19
nkeynes@681
    47
#define DCKB_w          0x1A
nkeynes@681
    48
#define DCKB_x          0x1B
nkeynes@681
    49
#define DCKB_y          0x1C
nkeynes@681
    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@681
    61
#define DCKB_Return     0x28
nkeynes@681
    62
#define DCKB_Escape     0x29
nkeynes@681
    63
#define DCKB_BackSpace  0x2A
nkeynes@681
    64
#define DCKB_Tab        0x2B
nkeynes@681
    65
#define DCKB_space      0x2C
nkeynes@681
    66
#define DCKB_minus      0x2D
nkeynes@681
    67
#define DCKB_equal      0x2E
nkeynes@681
    68
#define DCKB_bracketleft 0x2F
nkeynes@681
    69
#define DCKB_bracketright 0x30
nkeynes@681
    70
#define DCKB_backslash  0x31
nkeynes@681
    71
#define DCKB_semicolon  0x33
nkeynes@681
    72
#define DCKB_apostrophe 0x34
nkeynes@681
    73
#define DCKB_grave      0x35
nkeynes@681
    74
#define DCKB_comma      0x36
nkeynes@681
    75
#define DCKB_period     0x37
nkeynes@681
    76
#define DCKB_slash      0x38
nkeynes@681
    77
#define DCKB_Caps_Lock  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@681
    90
#define DCKB_Print_Screen 0x46
nkeynes@681
    91
#define DCKB_Scroll_Lock 0x47
nkeynes@681
    92
#define DCKB_Pause      0x48
nkeynes@681
    93
#define DCKB_Insert     0x49
nkeynes@681
    94
#define DCKB_Home       0x4A
nkeynes@681
    95
#define DCKB_Page_Up    0x4B
nkeynes@681
    96
#define DCKB_Delete     0x4C
nkeynes@681
    97
#define DCKB_End        0x4D
nkeynes@681
    98
#define DCKB_Page_Down  0x4E
nkeynes@681
    99
#define DCKB_Right      0x4F
nkeynes@681
   100
#define DCKB_Left       0x50
nkeynes@681
   101
#define DCKB_Down       0x51
nkeynes@681
   102
#define DCKB_Up         0x52
nkeynes@681
   103
#define DCKB_Num_Lock   0x53
nkeynes@681
   104
#define DCKB_KP_Divide  0x54
nkeynes@681
   105
#define DCKB_KP_Multiply 0x55
nkeynes@681
   106
#define DCKB_KP_Subtract 0x56
nkeynes@681
   107
#define DCKB_KP_Add     0x57
nkeynes@681
   108
#define DCKB_KP_Enter   0x58
nkeynes@681
   109
#define DCKB_KP_End     0x59
nkeynes@681
   110
#define DCKB_KP_Down    0x5A
nkeynes@681
   111
#define DCKB_KP_Page_Down 0x5B
nkeynes@681
   112
#define DCKB_KP_Left    0x5C
nkeynes@681
   113
#define DCKB_KP_Begin   0x5D
nkeynes@681
   114
#define DCKB_KP_Right   0x5E
nkeynes@681
   115
#define DCKB_KP_Home    0x5F
nkeynes@681
   116
#define DCKB_KP_Up      0x60
nkeynes@681
   117
#define DCKB_KP_Page_Up 0x61
nkeynes@681
   118
#define DCKB_KP_Insert  0x62
nkeynes@681
   119
#define DCKB_KP_Delete  0x63
nkeynes@608
   120
#define DCKB_S3         0x65
nkeynes@608
   121
nkeynes@608
   122
/* Modifier keys */
nkeynes@608
   123
nkeynes@681
   124
#define DCKB_Control_L  0xFF01
nkeynes@681
   125
#define DCKB_Shift_L    0xFF02
nkeynes@681
   126
#define DCKB_Alt_L      0xFF04
nkeynes@681
   127
#define DCKB_Meta_L     0xFF08 /* S1 */
nkeynes@681
   128
#define DCKB_Control_R  0xFF10
nkeynes@681
   129
#define DCKB_Shift_R    0xFF20
nkeynes@681
   130
#define DCKB_Alt_R      0xFF40
nkeynes@681
   131
#define DCKB_Meta_R     0xFF80 /* S2 */
nkeynes@608
   132
nkeynes@608
   133
#endif /* !lxdream_dckeysyms_H */
.