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 Sat Dec 27 02:59:35 2008 +0000 (15 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Replace fpscr_mask/fpscr flags in xlat_cache_block with a single xlat_sh4_mode,
which tracks the field of the same name in sh4r - actually a little faster this way.
Now depends on SR.MD, FPSCR.PR and FPSCR.SZ (although it doesn't benefit from the SR
flag yet).

Also fixed the failure to check the flags in the common case (code address returned
by previous block) which took away the performance benefits, but oh well.
view annotate diff log raw
     1 /**
     2  * $Id$
     3  *
     4  * Keysym definitions for the dreamcast keyboard.
     5  *
     6  * Copyright (c) 2005 Nathan Keynes.
     7  *
     8  * This program is free software; you can redistribute it and/or modify
     9  * it under the terms of the GNU General Public License as published by
    10  * the Free Software Foundation; either version 2 of the License, or
    11  * (at your option) any later version.
    12  *
    13  * This program is distributed in the hope that it will be useful,
    14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16  * GNU General Public License for more details.
    17  */
    19 #ifndef lxdream_dckeysyms_H
    20 #define lxdream_dckeysyms_H 1
    23 #define DCKB_NONE       0x00
    24 #define DCKB_ERROR      0x01
    25 #define DCKB_a          0x04
    26 #define DCKB_b          0x05
    27 #define DCKB_c          0x06
    28 #define DCKB_d          0x07
    29 #define DCKB_e          0x08
    30 #define DCKB_f          0x09
    31 #define DCKB_g          0x0A
    32 #define DCKB_h          0x0B
    33 #define DCKB_i          0x0C
    34 #define DCKB_j          0x0D
    35 #define DCKB_k          0x0E
    36 #define DCKB_l          0x0F
    37 #define DCKB_m          0x10
    38 #define DCKB_n          0x11
    39 #define DCKB_o          0x12
    40 #define DCKB_p          0x13
    41 #define DCKB_q          0x14
    42 #define DCKB_r          0x15
    43 #define DCKB_s          0x16
    44 #define DCKB_t          0x17
    45 #define DCKB_u          0x18
    46 #define DCKB_v          0x19
    47 #define DCKB_w          0x1A
    48 #define DCKB_x          0x1B
    49 #define DCKB_y          0x1C
    50 #define DCKB_z          0x1D
    51 #define DCKB_1          0x1E
    52 #define DCKB_2          0x1F
    53 #define DCKB_3          0x20
    54 #define DCKB_4          0x21
    55 #define DCKB_5          0x22
    56 #define DCKB_6          0x23
    57 #define DCKB_7          0x24
    58 #define DCKB_8          0x25
    59 #define DCKB_9          0x26
    60 #define DCKB_0          0x27
    61 #define DCKB_Return     0x28
    62 #define DCKB_Escape     0x29
    63 #define DCKB_BackSpace  0x2A
    64 #define DCKB_Tab        0x2B
    65 #define DCKB_space      0x2C
    66 #define DCKB_minus      0x2D
    67 #define DCKB_equal      0x2E
    68 #define DCKB_bracketleft 0x2F
    69 #define DCKB_bracketright 0x30
    70 #define DCKB_backslash  0x31
    71 #define DCKB_semicolon  0x33
    72 #define DCKB_apostrophe 0x34
    73 #define DCKB_grave      0x35
    74 #define DCKB_comma      0x36
    75 #define DCKB_period     0x37
    76 #define DCKB_slash      0x38
    77 #define DCKB_Caps_Lock  0x39
    78 #define DCKB_F1         0x3A
    79 #define DCKB_F2         0x3B
    80 #define DCKB_F3         0x3C
    81 #define DCKB_F4         0x3D
    82 #define DCKB_F5         0x3E
    83 #define DCKB_F6         0x3F
    84 #define DCKB_F7         0x40
    85 #define DCKB_F8         0x41
    86 #define DCKB_F9         0x42
    87 #define DCKB_F10        0x43
    88 #define DCKB_F11        0x44
    89 #define DCKB_F12        0x45
    90 #define DCKB_Print_Screen 0x46
    91 #define DCKB_Scroll_Lock 0x47
    92 #define DCKB_Pause      0x48
    93 #define DCKB_Insert     0x49
    94 #define DCKB_Home       0x4A
    95 #define DCKB_Page_Up    0x4B
    96 #define DCKB_Delete     0x4C
    97 #define DCKB_End        0x4D
    98 #define DCKB_Page_Down  0x4E
    99 #define DCKB_Right      0x4F
   100 #define DCKB_Left       0x50
   101 #define DCKB_Down       0x51
   102 #define DCKB_Up         0x52
   103 #define DCKB_Num_Lock   0x53
   104 #define DCKB_KP_Divide  0x54
   105 #define DCKB_KP_Multiply 0x55
   106 #define DCKB_KP_Subtract 0x56
   107 #define DCKB_KP_Add     0x57
   108 #define DCKB_KP_Enter   0x58
   109 #define DCKB_KP_End     0x59
   110 #define DCKB_KP_Down    0x5A
   111 #define DCKB_KP_Page_Down 0x5B
   112 #define DCKB_KP_Left    0x5C
   113 #define DCKB_KP_Begin   0x5D
   114 #define DCKB_KP_Right   0x5E
   115 #define DCKB_KP_Home    0x5F
   116 #define DCKB_KP_Up      0x60
   117 #define DCKB_KP_Page_Up 0x61
   118 #define DCKB_KP_Insert  0x62
   119 #define DCKB_KP_Delete  0x63
   120 #define DCKB_S3         0x65
   122 /* Modifier keys */
   124 #define DCKB_Control_L  0xFF01
   125 #define DCKB_Shift_L    0xFF02
   126 #define DCKB_Alt_L      0xFF04
   127 #define DCKB_Meta_L     0xFF08 /* S1 */
   128 #define DCKB_Control_R  0xFF10
   129 #define DCKB_Shift_R    0xFF20
   130 #define DCKB_Alt_R      0xFF40
   131 #define DCKB_Meta_R     0xFF80 /* S2 */
   133 #endif /* !lxdream_dckeysyms_H */
.