Mercurial > sdl-ios-xcode
annotate docs/man3/SDLKey.3 @ 4391:07b330419439 SDL-1.2
Fixed bug #849 some more:
Tim Angus 2009-11-26 14:41:04 PST
Fix to the cursor not being responsive when the app doesn't have
SDL_APPINPUTFOCUS
The problems with the directx driver are similar to the ones I introduced in
the windib driver with r4478. Basically if the application did not have focus,
the mouse position is not updated. It's not really that the mouse cursor was
invisible, it's that it is stuck underneath another window where you can't see
it. This behaviour predates my r4478 changes and is the reason I unwittingly
broke the windib driver as I had been replicating the way the directx driver
deals with focus. Prior to r4478 the directx driver could not be used in
windowed mode, so the broken focusing would not have actually been observable.
Anyway, the attached patch makes the directx driver behaves like the windib
driver in terms of focus.
Time for 1.2.15? ;)
I've added an additional change of moving the calls to WIN_GrabInput that are
made on WM_ACTIVATE messages so that they only occur when the state is
SDL_APPINPUTFOCUS. When a fullscreen application is minimised using alt-tab, it
still receives WM_ACTIVATE messages when other applications are selected. If
WIN_GrabInput is called when the SDL application doesn't have input focus, bad
things happen; it shouldn't be being called at all.
I've also added a line to make sure that SDL_APPMOUSEFOCUS state is dropped
when the application is minimised following an alt-tab.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 11 Dec 2009 15:24:53 +0000 |
parents | 4e3b250c950e |
children |
rev | line source |
---|---|
0 | 1 .TH "SDLKey" "3" "Wed 11 Oct 2000, 22:28" "SDL" "SDL API Reference" |
2 .SH "NAME" | |
4107
4e3b250c950e
Erik Heckers fixed 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 |