1SDLKey(3)                      SDL API Reference                     SDLKey(3)
2
3
4

NAME

6       SDLKey - SDL Keysym Definitions
7

SDL Keysym definitions

9       SDLKey               ASCII value    Common Name
10       SDLK_BACKSPACE       '\b'           backspace
11       SDLK_TAB             '\t'           tab
12       SDLK_CLEAR                          clear
13       SDLK_RETURN          '\r'           return
14       SDLK_PAUSE                          pause
15       SDLK_ESCAPE          '^['           escape
16       SDLK_SPACE           ' '            space
17       SDLK_EXCLAIM         '!'            exclaim
18       SDLK_QUOTEDBL        '"'            quotedbl
19       SDLK_HASH            '#'            hash
20       SDLK_DOLLAR          '$'            dollar
21       SDLK_AMPERSAND       '&'            ampersand
22       SDLK_QUOTE           '''            quote
23       SDLK_LEFTPAREN       '('            left parenthesis
24       SDLK_RIGHTPAREN      ')'            right parenthesis
25       SDLK_ASTERISK        '*'            asterisk
26       SDLK_PLUS            '+'            plus sign
27       SDLK_COMMA           ','            comma
28       SDLK_MINUS           '-'            minus sign
29       SDLK_PERIOD          '.'            period
30       SDLK_SLASH           '/'            forward slash
31       SDLK_0               '0'            0
32       SDLK_1               '1'            1
33       SDLK_2               '2'            2
34       SDLK_3               '3'            3
35       SDLK_4               '4'            4
36       SDLK_5               '5'            5
37       SDLK_6               '6'            6
38       SDLK_7               '7'            7
39       SDLK_8               '8'            8
40       SDLK_9               '9'            9
41       SDLK_COLON           ':'            colon
42       SDLK_SEMICOLON       ';'            semicolon
43       SDLK_LESS            '<'            less-than sign
44       SDLK_EQUALS          '='            equals sign
45       SDLK_GREATER         '>'            greater-than sign
46       SDLK_QUESTION        '?'            question mark
47       SDLK_AT              '@'            at
48       SDLK_LEFTBRACKET     '['            left bracket
49       SDLK_BACKSLASH       '\'            backslash
50       SDLK_RIGHTBRACKET    ']'            right bracket
51       SDLK_CARET           '^'            caret
52       SDLK_UNDERSCORE      '_'            underscore
53       SDLK_BACKQUOTE       '`'            grave
54       SDLK_a               'a'            a
55       SDLK_b               'b'            b
56       SDLK_c               'c'            c
57       SDLK_d               'd'            d
58       SDLK_e               'e'            e
59       SDLK_f               'f'            f
60       SDLK_g               'g'            g
61       SDLK_h               'h'            h
62       SDLK_i               'i'            i
63       SDLK_j               'j'            j
64       SDLK_k               'k'            k
65       SDLK_l               'l'            l
66       SDLK_m               'm'            m
67       SDLK_n               'n'            n
68       SDLK_o               'o'            o
69       SDLK_p               'p'            p
70       SDLK_q               'q'            q
71       SDLK_r               'r'            r
72       SDLK_s               's'            s
73       SDLK_t               't'            t
74       SDLK_u               'u'            u
75       SDLK_v               'v'            v
76       SDLK_w               'w'            w
77       SDLK_x               'x'            x
78       SDLK_y               'y'            y
79       SDLK_z               'z'            z
80       SDLK_DELETE          '^?'           delete
81       SDLK_KP0                            keypad 0
82       SDLK_KP1                            keypad 1
83       SDLK_KP2                            keypad 2
84       SDLK_KP3                            keypad 3
85       SDLK_KP4                            keypad 4
86       SDLK_KP5                            keypad 5
87       SDLK_KP6                            keypad 6
88       SDLK_KP7                            keypad 7
89       SDLK_KP8                            keypad 8
90       SDLK_KP9                            keypad 9
91       SDLK_KP_PERIOD       '.'            keypad period
92       SDLK_KP_DIVIDE       '/'            keypad divide
93       SDLK_KP_MULTIPLY     '*'            keypad multiply
94       SDLK_KP_MINUS        '-'            keypad minus
95       SDLK_KP_PLUS         '+'            keypad plus
96       SDLK_KP_ENTER        '\r'           keypad enter
97       SDLK_KP_EQUALS       '='            keypad equals
98       SDLK_UP                             up arrow
99       SDLK_DOWN                           down arrow
100       SDLK_RIGHT                          right arrow
101       SDLK_LEFT                           left arrow
102       SDLK_INSERT                         insert
103       SDLK_HOME                           home
104       SDLK_END                            end
105       SDLK_PAGEUP                         page up
106       SDLK_PAGEDOWN                       page down
107       SDLK_F1                             F1
108       SDLK_F2                             F2
109       SDLK_F3                             F3
110       SDLK_F4                             F4
111       SDLK_F5                             F5
112       SDLK_F6                             F6
113       SDLK_F7                             F7
114       SDLK_F8                             F8
115       SDLK_F9                             F9
116       SDLK_F10                            F10
117       SDLK_F11                            F11
118       SDLK_F12                            F12
119       SDLK_F13                            F13
120       SDLK_F14                            F14
121       SDLK_F15                            F15
122       SDLK_NUMLOCK                        numlock
123       SDLK_CAPSLOCK                       capslock
124       SDLK_SCROLLOCK                      scrollock
125       SDLK_RSHIFT                         right shift
126       SDLK_LSHIFT                         left shift
127       SDLK_RCTRL                          right ctrl
128       SDLK_LCTRL                          left ctrl
129       SDLK_RALT                           right alt
130       SDLK_LALT                           left alt
131       SDLK_RMETA                          right meta
132       SDLK_LMETA                          left meta
133       SDLK_LSUPER                         left windows key
134       SDLK_RSUPER                         right windows key
135       SDLK_MODE                           mode shift
136       SDLK_HELP                           help
137       SDLK_PRINT                          print-screen
138       SDLK_SYSREQ                         SysRq
139       SDLK_BREAK                          break
140       SDLK_MENU                           menu
141       SDLK_POWER                          power
142       SDLK_EURO                           euro
143
144
145

SDL modifier definitions

147       SDL Modifier    Meaning
148       KMOD_NONE       No modifiers applicable
149       KMOD_NUM        Numlock is down
150       KMOD_CAPS       Capslock is down
151       KMOD_LCTRL      Left Control is down
152       KMOD_RCTRL      Right Control is down
153       KMOD_RSHIFT     Right Shift is down
154       KMOD_LSHIFT     Left Shift is down
155       KMOD_RALT       Right Alt is down
156       KMOD_LALT       Left Alt is down
157       KMOD_CTRL       A Control key is down
158       KMOD_SHIFT      A Shift key is down
159       KMOD_ALT        An Alt key is down
160
161
162
163
164SDL                         Wed 11 Oct 2000, 22:28                   SDLKey(3)
Impressum