Mercurial > sdl-ios-xcode
annotate docs/man3/SDLKey.3 @ 3097:0d12e8f1de3c
Date: Thu, 05 Feb 2009 18:07:35 +0100
From: Stefan Klug
Subject: [SDL] SDL 1.3 WinCE backend
as promised, I've started to work on the WinCE backend of SDL 1.3
I've modified the win32 video backend and the gdi renderer, to work
properly in WinCE.
The results till now are great, but there is still some work to do.
Attached are two patches with my changes.
I would be happy if someone could review and propably commit them.
The first one (configure.in.patch) should be straight forward without
any side effects.
The second one does the necessary changes to the win32 backend. I was
really unhappy to start slicing this shiny new backend with
#ifdef/#endif but I saw no other option.
The most problematic issues are:
- WinCe has no GetDIBits, so its practically impossible to fill a
BITMAPINFO with correct values. I therefore removed the bmi member from
the GDI_RenderData in SDL_gdirender.c to prevent usage of a not or not
properly initialized bmi.
- In SDL_win32window.c I exchanged some ASCII function by their general
counterparts, (In CE only the Unicode versions are available). I don't
know if this has a negative effect when running in win32
Cheers
Stefan
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 23 Mar 2009 05:35:21 +0000 |
parents | 546f7c1eb755 |
children |
rev | line source |
---|---|
0 | 1 .TH "SDLKey" "3" "Wed 11 Oct 2000, 22:28" "SDL" "SDL API Reference" |
2 .SH "NAME" | |
2283
546f7c1eb755
Merged revision 3472 from SDL 1.2, fixing bug #493
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
3 SDLKey \- SDL Keysym Definitions |
0 | 4 .SH "SDL Keysym definitions" |
5 .PP | |
6 \fBSDLKey ASCII value Common Name\fR | |
7 .nf | |
8 \f(CWSDLK_BACKSPACE '\\b' backspace | |
9 SDLK_TAB '\\t' tab | |
10 SDLK_CLEAR clear | |
11 SDLK_RETURN '\\r' return | |
12 SDLK_PAUSE pause | |
13 SDLK_ESCAPE '^[' escape | |
14 SDLK_SPACE ' ' space | |
15 SDLK_EXCLAIM '!' exclaim | |
16 SDLK_QUOTEDBL '"' quotedbl | |
17 SDLK_HASH '#' hash | |
18 SDLK_DOLLAR '$' dollar | |
19 SDLK_AMPERSAND '&' ampersand | |
20 SDLK_QUOTE ''' quote | |
21 SDLK_LEFTPAREN '(' left parenthesis | |
22 SDLK_RIGHTPAREN ')' right parenthesis | |
23 SDLK_ASTERISK '*' asterisk | |
24 SDLK_PLUS '+' plus sign | |
25 SDLK_COMMA ',' comma | |
26 SDLK_MINUS '-' minus sign | |
27 SDLK_PERIOD '.' period | |
28 SDLK_SLASH '/' forward slash | |
29 SDLK_0 '0' 0 | |
30 SDLK_1 '1' 1 | |
31 SDLK_2 '2' 2 | |
32 SDLK_3 '3' 3 | |
33 SDLK_4 '4' 4 | |
34 SDLK_5 '5' 5 | |
35 SDLK_6 '6' 6 | |
36 SDLK_7 '7' 7 | |
37 SDLK_8 '8' 8 | |
38 SDLK_9 '9' 9 | |
39 SDLK_COLON ':' colon | |
40 SDLK_SEMICOLON ';' semicolon | |
41 SDLK_LESS '<' less-than sign | |
42 SDLK_EQUALS '=' equals sign | |
43 SDLK_GREATER '>' greater-than sign | |
44 SDLK_QUESTION '?' question mark | |
45 SDLK_AT '@' at | |
46 SDLK_LEFTBRACKET '[' left bracket | |
47 SDLK_BACKSLASH '\\' backslash | |
48 SDLK_RIGHTBRACKET ']' right bracket | |
49 SDLK_CARET '^' caret | |
50 SDLK_UNDERSCORE '_' underscore | |
51 SDLK_BACKQUOTE '`' grave | |
52 SDLK_a 'a' a | |
53 SDLK_b 'b' b | |
54 SDLK_c 'c' c | |
55 SDLK_d 'd' d | |
56 SDLK_e 'e' e | |
57 SDLK_f 'f' f | |
58 SDLK_g 'g' g | |
59 SDLK_h 'h' h | |
60 SDLK_i 'i' i | |
61 SDLK_j 'j' j | |
62 SDLK_k 'k' k | |
63 SDLK_l 'l' l | |
64 SDLK_m 'm' m | |
65 SDLK_n 'n' n | |
66 SDLK_o 'o' o | |
67 SDLK_p 'p' p | |
68 SDLK_q 'q' q | |
69 SDLK_r 'r' r | |
70 SDLK_s 's' s | |
71 SDLK_t 't' t | |
72 SDLK_u 'u' u | |
73 SDLK_v 'v' v | |
74 SDLK_w 'w' w | |
75 SDLK_x 'x' x | |
76 SDLK_y 'y' y | |
77 SDLK_z 'z' z | |
78 SDLK_DELETE '^?' delete | |
79 SDLK_KP0 keypad 0 | |
80 SDLK_KP1 keypad 1 | |
81 SDLK_KP2 keypad 2 | |
82 SDLK_KP3 keypad 3 | |
83 SDLK_KP4 keypad 4 | |
84 SDLK_KP5 keypad 5 | |
85 SDLK_KP6 keypad 6 | |
86 SDLK_KP7 keypad 7 | |
87 SDLK_KP8 keypad 8 | |
88 SDLK_KP9 keypad 9 | |
89 SDLK_KP_PERIOD '.' keypad period | |
90 SDLK_KP_DIVIDE '/' keypad divide | |
91 SDLK_KP_MULTIPLY '*' keypad multiply | |
92 SDLK_KP_MINUS '-' keypad minus | |
93 SDLK_KP_PLUS '+' keypad plus | |
94 SDLK_KP_ENTER '\\r' keypad enter | |
95 SDLK_KP_EQUALS '=' keypad equals | |
96 SDLK_UP up arrow | |
97 SDLK_DOWN down arrow | |
98 SDLK_RIGHT right arrow | |
99 SDLK_LEFT left arrow | |
100 SDLK_INSERT insert | |
101 SDLK_HOME home | |
102 SDLK_END end | |
103 SDLK_PAGEUP page up | |
104 SDLK_PAGEDOWN page down | |
105 SDLK_F1 F1 | |
106 SDLK_F2 F2 | |
107 SDLK_F3 F3 | |
108 SDLK_F4 F4 | |
109 SDLK_F5 F5 | |
110 SDLK_F6 F6 | |
111 SDLK_F7 F7 | |
112 SDLK_F8 F8 | |
113 SDLK_F9 F9 | |
114 SDLK_F10 F10 | |
115 SDLK_F11 F11 | |
116 SDLK_F12 F12 | |
117 SDLK_F13 F13 | |
118 SDLK_F14 F14 | |
119 SDLK_F15 F15 | |
120 SDLK_NUMLOCK numlock | |
121 SDLK_CAPSLOCK capslock | |
122 SDLK_SCROLLOCK scrollock | |
123 SDLK_RSHIFT right shift | |
124 SDLK_LSHIFT left shift | |
125 SDLK_RCTRL right ctrl | |
126 SDLK_LCTRL left ctrl | |
127 SDLK_RALT right alt | |
128 SDLK_LALT left alt | |
129 SDLK_RMETA right meta | |
130 SDLK_LMETA left meta | |
131 SDLK_LSUPER left windows key | |
132 SDLK_RSUPER right windows key | |
133 SDLK_MODE mode shift | |
134 SDLK_HELP help | |
135 SDLK_PRINT print-screen | |
136 SDLK_SYSREQ SysRq | |
137 SDLK_BREAK break | |
138 SDLK_MENU menu | |
139 SDLK_POWER power | |
140 SDLK_EURO euro\fR | |
141 .fi | |
142 | |
143 | |
144 .SH "SDL modifier definitions" | |
145 .PP | |
146 \fBSDL Modifier Meaning\fR | |
147 .nf | |
148 \f(CWKMOD_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\fR | |
160 .fi | |
161 |