Home | History | Annotate | Download | only in keymaps
      1 include modifiers
      2 
      3 #
      4 # Top row
      5 #
      6 1 0x2
      7 2 0x3
      8 3 0x4
      9 4 0x5
     10 5 0x6
     11 6 0x7
     12 7 0x8
     13 8 0x9
     14 9 0xa
     15 0 0xb
     16 BackSpace 0xe
     17 
     18 #
     19 # QWERTY first row
     20 #
     21 Tab 0xf localstate
     22 ISO_Left_Tab 0xf shift
     23 q 0x10 addupper
     24 w 0x11 addupper
     25 e 0x12 addupper
     26 r 0x13 addupper
     27 t 0x14 addupper
     28 y 0x15 addupper
     29 u 0x16 addupper
     30 i 0x17 addupper
     31 o 0x18 addupper
     32 p 0x19 addupper
     33 
     34 #
     35 # QWERTY second row
     36 #
     37 a 0x1e addupper
     38 s 0x1f addupper
     39 d 0x20 addupper
     40 f 0x21 addupper
     41 g 0x22 addupper
     42 h 0x23 addupper
     43 j 0x24 addupper
     44 k 0x25 addupper
     45 l 0x26 addupper
     46 Return 0x1c localstate
     47 
     48 #
     49 # QWERTY third row
     50 #
     51 z 0x2c addupper
     52 x 0x2d addupper
     53 c 0x2e addupper
     54 v 0x2f addupper
     55 b 0x30 addupper
     56 n 0x31 addupper
     57 m 0x32 addupper
     58 
     59 space 0x39 localstate
     60 
     61 less 0x56
     62 greater 0x56 shift
     63 bar 0x56 altgr
     64 brokenbar 0x56 shift altgr
     65 
     66 #
     67 # Esc and Function keys
     68 #
     69 Escape 0x1 localstate
     70 F1 0x3b localstate
     71 F2 0x3c localstate
     72 F3 0x3d localstate
     73 F4 0x3e localstate
     74 F5 0x3f localstate
     75 F6 0x40 localstate
     76 F7 0x41 localstate
     77 F8 0x42 localstate
     78 F9 0x43 localstate
     79 F10 0x44 localstate
     80 F11 0x57 localstate
     81 F12 0x58 localstate
     82 
     83 # Printscreen, Scrollock and Pause
     84 # Printscreen really requires four scancodes (0xe0, 0x2a, 0xe0, 0x37),
     85 # but (0xe0, 0x37) seems to work.
     86 Print 0xb7 localstate
     87 Sys_Req 0xb7 localstate
     88 Execute 0xb7 localstate
     89 Scroll_Lock 0x46
     90 
     91 #
     92 # Insert - PgDown
     93 #
     94 Insert 0xd2 localstate
     95 Delete 0xd3 localstate
     96 Home 0xc7 localstate
     97 End 0xcf localstate
     98 Page_Up 0xc9 localstate
     99 Page_Down 0xd1 localstate
    100 
    101 #
    102 # Arrow keys
    103 #
    104 Left 0xcb localstate
    105 Up 0xc8 localstate
    106 Down 0xd0 localstate
    107 Right 0xcd localstate
    108 
    109 #
    110 # Numpad
    111 #
    112 Num_Lock 0x45
    113 KP_Divide 0xb5
    114 KP_Multiply 0x37
    115 KP_Subtract 0x4a
    116 KP_Add 0x4e
    117 KP_Enter 0x9c
    118 
    119 KP_Decimal 0x53 numlock
    120 KP_Separator 0x53 numlock
    121 KP_Delete 0x53
    122 
    123 KP_0 0x52 numlock
    124 KP_Insert 0x52
    125 
    126 KP_1 0x4f numlock
    127 KP_End 0x4f
    128 
    129 KP_2 0x50 numlock
    130 KP_Down 0x50
    131 
    132 KP_3 0x51 numlock
    133 KP_Next 0x51
    134 
    135 KP_4 0x4b numlock
    136 KP_Left 0x4b
    137 
    138 KP_5 0x4c numlock
    139 KP_Begin 0x4c
    140 
    141 KP_6 0x4d numlock
    142 KP_Right 0x4d
    143 
    144 KP_7 0x47 numlock
    145 KP_Home 0x47
    146 
    147 KP_8 0x48 numlock
    148 KP_Up 0x48
    149 
    150 KP_9 0x49 numlock
    151 KP_Prior 0x49
    152 
    153 Caps_Lock 0x3a
    154 #
    155 # Inhibited keys
    156 #
    157 Multi_key 0x0 inhibit
    158