SFML - Simple and Fast Multimedia Library

SFML 2.6.2

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

Loading...
Searching...
No Matches
Keyboard.hpp
Go to the documentation of this file.
1
2//
3// SFML - Simple and Fast Multimedia Library
4// Copyright (C) 2007-2023 Laurent Gomila (laurent@sfml-dev.org)
5//
6// This software is provided 'as-is', without any express or implied warranty.
7// In no event will the authors be held liable for any damages arising from the use of this software.
8//
9// Permission is granted to anyone to use this software for any purpose,
10// including commercial applications, and to alter it and redistribute it freely,
11// subject to the following restrictions:
12//
13// 1. The origin of this software must not be misrepresented;
14// you must not claim that you wrote the original software.
15// If you use this software in a product, an acknowledgment
16// in the product documentation would be appreciated but is not required.
17//
18// 2. Altered source versions must be plainly marked as such,
19// and must not be misrepresented as being the original software.
20//
21// 3. This notice may not be removed or altered from any source distribution.
22//
24
25#ifndef SFML_KEYBOARD_HPP
26#define SFML_KEYBOARD_HPP
27
29// Headers
31#include <SFML/Window/Export.hpp>
32
33
34namespace sf
35{
36class String;
37
42 class SFML_WINDOW_API Keyboard
43{
44public:
45
54 enum Key
55 {
56 Unknown = -1,
57 A = 0,
58 B,
59 C,
60 D,
61 E,
62 F,
63 G,
64 H,
65 I,
66 J,
67 K,
68 L,
69 M,
70 N,
71 O,
72 P,
73 Q,
74 R,
75 S,
76 T,
77 U,
78 V,
79 W,
80 X,
81 Y,
82 Z,
83 Num0,
84 Num1,
85 Num2,
86 Num3,
87 Num4,
88 Num5,
89 Num6,
90 Num7,
91 Num8,
92 Num9,
93 Escape,
94 LControl,
95 LShift,
96 LAlt,
97 LSystem,
98 RControl,
99 RShift,
100 RAlt,
101 RSystem,
102 Menu,
103 LBracket,
104 RBracket,
105 Semicolon,
106 Comma,
107 Period,
108 Apostrophe,
109 Slash,
110 Backslash,
111 Grave,
112 Equal,
113 Hyphen,
114 Space,
115 Enter,
116 Backspace,
117 Tab,
118 PageUp,
119 PageDown,
120 End,
121 Home,
122 Insert,
123 Delete,
124 Add,
125 Subtract,
126 Multiply,
127 Divide,
128 Left,
129 Right,
130 Up,
131 Down,
132 Numpad0,
133 Numpad1,
134 Numpad2,
135 Numpad3,
136 Numpad4,
137 Numpad5,
138 Numpad6,
139 Numpad7,
140 Numpad8,
141 Numpad9,
142 F1,
143 F2,
144 F3,
145 F4,
146 F5,
147 F6,
148 F7,
149 F8,
150 F9,
151 F10,
152 F11,
153 F12,
154 F13,
155 F14,
156 F15,
157 Pause,
158
159 KeyCount,
160
161 // Deprecated values:
162
163 Tilde = Grave,
164 Dash = Hyphen,
165 BackSpace = Backspace,
166 BackSlash = Backslash,
167 SemiColon = Semicolon,
168 Return = Enter,
169 Quote = Apostrophe
170 };
171
180 struct Scan
181 {
182 // TODO: replace with enum class in SFML 3.
183 // Clang warns us rightfully that Scancode names shadow Key names.
184 // A safer solution would be to use a C++11 scoped enumeration (enum class),
185 // but it is not possible in SFML 2 which uses C++03.
186 // For now, we just ignore those warnings.
187 #if defined(__clang__)
188 #pragma clang diagnostic push
189 #pragma clang diagnostic ignored "-Wshadow"
190 #endif
191
192 enum Scancode
193 {
194 Unknown = -1,
195 A = 0,
196 B,
197 C,
198 D,
199 E,
200 F,
201 G,
202 H,
203 I,
204 J,
205 K,
206 L,
207 M,
208 N,
209 O,
210 P,
211 Q,
212 R,
213 S,
214 T,
215 U,
216 V,
217 W,
218 X,
219 Y,
220 Z,
221 Num1,
222 Num2,
223 Num3,
224 Num4,
225 Num5,
226 Num6,
227 Num7,
228 Num8,
229 Num9,
230 Num0,
231 Enter,
232 Escape,
233 Backspace,
234 Tab,
235 Space,
236 Hyphen,
237 Equal,
238 LBracket,
239 RBracket,
240 // For US keyboards mapped to key 29 (Microsoft Keyboard Scan Code Specification)
241 // For Non-US keyboards mapped to key 42 (Microsoft Keyboard Scan Code Specification)
242 // Typical language mappings: Belg:£µ` FrCa:<>} Dan:*' Dutch:`´ Fren:µ* Ger:'# Ital:§ù LatAm:[}` Nor:*@ Span:ç} Swed:*' Swiss:$£} UK:~# Brazil:}]
243 Backslash,
244 Semicolon,
245 Apostrophe,
246 Grave,
247 Comma,
248 Period,
249 Slash,
250 F1,
251 F2,
252 F3,
253 F4,
254 F5,
255 F6,
256 F7,
257 F8,
258 F9,
259 F10,
260 F11,
261 F12,
262 F13,
263 F14,
264 F15,
265 F16,
266 F17,
267 F18,
268 F19,
269 F20,
270 F21,
271 F22,
272 F23,
273 F24,
274 CapsLock,
275 PrintScreen,
276 ScrollLock,
277 Pause,
278 Insert,
279 Home,
280 PageUp,
281 Delete,
282 End,
283 PageDown,
284 Right,
285 Left,
286 Down,
287 Up,
288 NumLock,
289 NumpadDivide,
290 NumpadMultiply,
291 NumpadMinus,
292 NumpadPlus,
293 NumpadEqual,
294 NumpadEnter,
295 NumpadDecimal,
296 Numpad1,
297 Numpad2,
298 Numpad3,
299 Numpad4,
300 Numpad5,
301 Numpad6,
302 Numpad7,
303 Numpad8,
304 Numpad9,
305 Numpad0,
306 // For US keyboards doesn't exist
307 // For Non-US keyboards mapped to key 45 (Microsoft Keyboard Scan Code Specification)
308 // Typical language mappings: Belg:<> FrCa:«°» Dan:<> Dutch:]|[ Fren:<> Ger:<|> Ital:<> LatAm:<> Nor:<> Span:<> Swed:<|> Swiss:<> UK:\| Brazil: \|.
309 NonUsBackslash,
310 Application,
311 Execute,
312 ModeChange,
313 Help,
314 Menu,
315 Select,
316 Redo,
317 Undo,
318 Cut,
319 Copy,
320 Paste,
321 VolumeMute,
322 VolumeUp,
323 VolumeDown,
324 MediaPlayPause,
325 MediaStop,
326 MediaNextTrack,
327 MediaPreviousTrack,
328 LControl,
329 LShift,
330 LAlt,
331 LSystem,
332 RControl,
333 RShift,
334 RAlt,
335 RSystem,
336 Back,
337 Forward,
338 Refresh,
339 Stop,
340 Search,
341 Favorites,
342 HomePage,
343 LaunchApplication1,
344 LaunchApplication2,
345 LaunchMail,
346 LaunchMediaSelect,
347
348 ScancodeCount
349 };
350
351 #if defined(__clang__)
352 #pragma clang diagnostic pop
353 #endif
354 };
355
356 typedef Scan::Scancode Scancode;
357
366 static bool isKeyPressed(Key key);
367
376 static bool isKeyPressed(Scancode code);
377
391 static Key localize(Scancode code);
392
406 static Scancode delocalize(Key key);
407
427 static String getDescription(Scancode code);
428
442 static void setVirtualKeyboardVisible(bool visible);
443};
444
445} // namespace sf
446
447
448#endif // SFML_KEYBOARD_HPP
449
450
Export.hpp
SFML_WINDOW_API
#define SFML_WINDOW_API
Definition Window/Export.hpp:43
sf::Keyboard
Give access to the real-time state of the keyboard.
Definition Keyboard.hpp:43
sf::Keyboard::Scancode
Scan::Scancode Scancode
Definition Keyboard.hpp:356
sf::Keyboard::localize
static Key localize(Scancode code)
Localize a physical key to a logical one.
sf::Keyboard::isKeyPressed
static bool isKeyPressed(Key key)
Check if a key is pressed.
sf::Keyboard::isKeyPressed
static bool isKeyPressed(Scancode code)
Check if a key is pressed.
sf::Keyboard::getDescription
static String getDescription(Scancode code)
Provide a string representation for a given scancode.
sf::Keyboard::Key
Key
Key codes.
Definition Keyboard.hpp:55
sf::Keyboard::LAlt
@ LAlt
The left Alt key.
Definition Keyboard.hpp:96
sf::Keyboard::X
@ X
The X key.
Definition Keyboard.hpp:80
sf::Keyboard::F5
@ F5
The F5 key.
Definition Keyboard.hpp:146
sf::Keyboard::Numpad1
@ Numpad1
The numpad 1 key.
Definition Keyboard.hpp:133
sf::Keyboard::F7
@ F7
The F7 key.
Definition Keyboard.hpp:148
sf::Keyboard::C
@ C
The C key.
Definition Keyboard.hpp:59
sf::Keyboard::E
@ E
The E key.
Definition Keyboard.hpp:61
sf::Keyboard::Multiply
@ Multiply
The * key.
Definition Keyboard.hpp:126
sf::Keyboard::Add
@ Add
The + key.
Definition Keyboard.hpp:124
sf::Keyboard::T
@ T
The T key.
Definition Keyboard.hpp:76
sf::Keyboard::Num5
@ Num5
The 5 key.
Definition Keyboard.hpp:88
sf::Keyboard::F3
@ F3
The F3 key.
Definition Keyboard.hpp:144
sf::Keyboard::Tab
@ Tab
The Tabulation key.
Definition Keyboard.hpp:117
sf::Keyboard::PageDown
@ PageDown
The Page down key.
Definition Keyboard.hpp:119
sf::Keyboard::RAlt
@ RAlt
The right Alt key.
Definition Keyboard.hpp:100
sf::Keyboard::W
@ W
The W key.
Definition Keyboard.hpp:79
sf::Keyboard::K
@ K
The K key.
Definition Keyboard.hpp:67
sf::Keyboard::Numpad8
@ Numpad8
The numpad 8 key.
Definition Keyboard.hpp:140
sf::Keyboard::LShift
@ LShift
The left Shift key.
Definition Keyboard.hpp:95
sf::Keyboard::RControl
@ RControl
The right Control key.
Definition Keyboard.hpp:98
sf::Keyboard::Q
@ Q
The Q key.
Definition Keyboard.hpp:73
sf::Keyboard::Right
@ Right
Right arrow.
Definition Keyboard.hpp:129
sf::Keyboard::Num2
@ Num2
The 2 key.
Definition Keyboard.hpp:85
sf::Keyboard::Grave
@ Grave
The ` key.
Definition Keyboard.hpp:111
sf::Keyboard::Down
@ Down
Down arrow.
Definition Keyboard.hpp:131
sf::Keyboard::Numpad9
@ Numpad9
The numpad 9 key.
Definition Keyboard.hpp:141
sf::Keyboard::F9
@ F9
The F9 key.
Definition Keyboard.hpp:150
sf::Keyboard::Numpad7
@ Numpad7
The numpad 7 key.
Definition Keyboard.hpp:139
sf::Keyboard::End
@ End
The End key.
Definition Keyboard.hpp:120
sf::Keyboard::Menu
@ Menu
The Menu key.
Definition Keyboard.hpp:102
sf::Keyboard::Z
@ Z
The Z key.
Definition Keyboard.hpp:82
sf::Keyboard::Num1
@ Num1
The 1 key.
Definition Keyboard.hpp:84
sf::Keyboard::RBracket
@ RBracket
The ] key.
Definition Keyboard.hpp:104
sf::Keyboard::Enter
@ Enter
The Enter/Return keys.
Definition Keyboard.hpp:115
sf::Keyboard::Hyphen
@ Hyphen
The - key (hyphen)
Definition Keyboard.hpp:113
sf::Keyboard::RShift
@ RShift
The right Shift key.
Definition Keyboard.hpp:99
sf::Keyboard::Y
@ Y
The Y key.
Definition Keyboard.hpp:81
sf::Keyboard::L
@ L
The L key.
Definition Keyboard.hpp:68
sf::Keyboard::Num4
@ Num4
The 4 key.
Definition Keyboard.hpp:87
sf::Keyboard::Insert
@ Insert
The Insert key.
Definition Keyboard.hpp:122
sf::Keyboard::Escape
@ Escape
The Escape key.
Definition Keyboard.hpp:93
sf::Keyboard::Numpad4
@ Numpad4
The numpad 4 key.
Definition Keyboard.hpp:136
sf::Keyboard::Subtract
@ Subtract
The - key (minus, usually from numpad)
Definition Keyboard.hpp:125
sf::Keyboard::F2
@ F2
The F2 key.
Definition Keyboard.hpp:143
sf::Keyboard::Space
@ Space
The Space key.
Definition Keyboard.hpp:114
sf::Keyboard::F4
@ F4
The F4 key.
Definition Keyboard.hpp:145
sf::Keyboard::LSystem
@ LSystem
The left OS specific key: window (Windows and Linux), apple (macOS), ...
Definition Keyboard.hpp:97
sf::Keyboard::Slash
@ Slash
The / key.
Definition Keyboard.hpp:109
sf::Keyboard::O
@ O
The O key.
Definition Keyboard.hpp:71
sf::Keyboard::Apostrophe
@ Apostrophe
The ' key.
Definition Keyboard.hpp:108
sf::Keyboard::F15
@ F15
The F15 key.
Definition Keyboard.hpp:156
sf::Keyboard::Numpad2
@ Numpad2
The numpad 2 key.
Definition Keyboard.hpp:134
sf::Keyboard::Numpad5
@ Numpad5
The numpad 5 key.
Definition Keyboard.hpp:137
sf::Keyboard::Num7
@ Num7
The 7 key.
Definition Keyboard.hpp:90
sf::Keyboard::KeyCount
@ KeyCount
Keep last – the total number of keyboard keys.
Definition Keyboard.hpp:159
sf::Keyboard::J
@ J
The J key.
Definition Keyboard.hpp:66
sf::Keyboard::Pause
@ Pause
The Pause key.
Definition Keyboard.hpp:157
sf::Keyboard::M
@ M
The M key.
Definition Keyboard.hpp:69
sf::Keyboard::F14
@ F14
The F14 key.
Definition Keyboard.hpp:155
sf::Keyboard::Num9
@ Num9
The 9 key.
Definition Keyboard.hpp:92
sf::Keyboard::F13
@ F13
The F13 key.
Definition Keyboard.hpp:154
sf::Keyboard::PageUp
@ PageUp
The Page up key.
Definition Keyboard.hpp:118
sf::Keyboard::Backspace
@ Backspace
The Backspace key.
Definition Keyboard.hpp:116
sf::Keyboard::P
@ P
The P key.
Definition Keyboard.hpp:72
sf::Keyboard::Numpad6
@ Numpad6
The numpad 6 key.
Definition Keyboard.hpp:138
sf::Keyboard::G
@ G
The G key.
Definition Keyboard.hpp:63
sf::Keyboard::U
@ U
The U key.
Definition Keyboard.hpp:77
sf::Keyboard::Semicolon
@ Semicolon
The ; key.
Definition Keyboard.hpp:105
sf::Keyboard::Numpad3
@ Numpad3
The numpad 3 key.
Definition Keyboard.hpp:135
sf::Keyboard::N
@ N
The N key.
Definition Keyboard.hpp:70
sf::Keyboard::Delete
@ Delete
The Delete key.
Definition Keyboard.hpp:123
sf::Keyboard::Comma
@ Comma
The , key.
Definition Keyboard.hpp:106
sf::Keyboard::F
@ F
The F key.
Definition Keyboard.hpp:62
sf::Keyboard::I
@ I
The I key.
Definition Keyboard.hpp:65
sf::Keyboard::RSystem
@ RSystem
The right OS specific key: window (Windows and Linux), apple (macOS), ...
Definition Keyboard.hpp:101
sf::Keyboard::Left
@ Left
Left arrow.
Definition Keyboard.hpp:128
sf::Keyboard::Up
@ Up
Up arrow.
Definition Keyboard.hpp:130
sf::Keyboard::Period
@ Period
The . key.
Definition Keyboard.hpp:107
sf::Keyboard::F6
@ F6
The F6 key.
Definition Keyboard.hpp:147
sf::Keyboard::S
@ S
The S key.
Definition Keyboard.hpp:75
sf::Keyboard::B
@ B
The B key.
Definition Keyboard.hpp:58
sf::Keyboard::LControl
@ LControl
The left Control key.
Definition Keyboard.hpp:94
sf::Keyboard::Num8
@ Num8
The 8 key.
Definition Keyboard.hpp:91
sf::Keyboard::Backslash
@ Backslash
The \ key.
Definition Keyboard.hpp:110
sf::Keyboard::R
@ R
The R key.
Definition Keyboard.hpp:74
sf::Keyboard::F8
@ F8
The F8 key.
Definition Keyboard.hpp:149
sf::Keyboard::H
@ H
The H key.
Definition Keyboard.hpp:64
sf::Keyboard::Equal
@ Equal
The = key.
Definition Keyboard.hpp:112
sf::Keyboard::F1
@ F1
The F1 key.
Definition Keyboard.hpp:142
sf::Keyboard::D
@ D
The D key.
Definition Keyboard.hpp:60
sf::Keyboard::F10
@ F10
The F10 key.
Definition Keyboard.hpp:151
sf::Keyboard::V
@ V
The V key.
Definition Keyboard.hpp:78
sf::Keyboard::Num3
@ Num3
The 3 key.
Definition Keyboard.hpp:86
sf::Keyboard::Num0
@ Num0
The 0 key.
Definition Keyboard.hpp:83
sf::Keyboard::Numpad0
@ Numpad0
The numpad 0 key.
Definition Keyboard.hpp:132
sf::Keyboard::Home
@ Home
The Home key.
Definition Keyboard.hpp:121
sf::Keyboard::Num6
@ Num6
The 6 key.
Definition Keyboard.hpp:89
sf::Keyboard::F11
@ F11
The F11 key.
Definition Keyboard.hpp:152
sf::Keyboard::F12
@ F12
The F12 key.
Definition Keyboard.hpp:153
sf::Keyboard::Divide
@ Divide
The / key.
Definition Keyboard.hpp:127
sf::Keyboard::LBracket
@ LBracket
The [ key.
Definition Keyboard.hpp:103
sf::Keyboard::setVirtualKeyboardVisible
static void setVirtualKeyboardVisible(bool visible)
Show or hide the virtual keyboard.
sf::Keyboard::delocalize
static Scancode delocalize(Key key)
Identify the physical key corresponding to a logical one.
sf::String
Utility string class that automatically handles conversions between types and encodings.
Definition String.hpp:46
sf
Definition AlResource.hpp:35
sf::Keyboard::Scan
Scancodes.
Definition Keyboard.hpp:181
sf::Keyboard::Scan::Scancode
Scancode
Definition Keyboard.hpp:193
sf::Keyboard::Scan::Backslash
@ Backslash
Keyboard \ and | key OR various keys for Non-US keyboards.
Definition Keyboard.hpp:243
sf::Keyboard::Scan::Comma
@ Comma
Keyboard , and < key.
Definition Keyboard.hpp:247
sf::Keyboard::Scan::Stop
@ Stop
Keyboard Stop key.
Definition Keyboard.hpp:339
sf::Keyboard::Scan::Right
@ Right
Keyboard Right Arrow key.
Definition Keyboard.hpp:284
sf::Keyboard::Scan::F24
@ F24
Keyboard F24 key.
Definition Keyboard.hpp:273
sf::Keyboard::Scan::F20
@ F20
Keyboard F20 key.
Definition Keyboard.hpp:269
sf::Keyboard::Scan::MediaNextTrack
@ MediaNextTrack
Keyboard Media Next Track key.
Definition Keyboard.hpp:326
sf::Keyboard::Scan::P
@ P
Keyboard p and P key.
Definition Keyboard.hpp:210
sf::Keyboard::Scan::PageUp
@ PageUp
Keyboard Page Up key.
Definition Keyboard.hpp:280
sf::Keyboard::Scan::Execute
@ Execute
Keyboard Execute key.
Definition Keyboard.hpp:311
sf::Keyboard::Scan::Num4
@ Num4
Keyboard 4 and $ key.
Definition Keyboard.hpp:224
sf::Keyboard::Scan::Num2
@ Num2
Keyboard 2 and @ key.
Definition Keyboard.hpp:222
sf::Keyboard::Scan::Numpad3
@ Numpad3
Keypad 3 and Page Down key.
Definition Keyboard.hpp:298
sf::Keyboard::Scan::Down
@ Down
Keyboard Down Arrow key.
Definition Keyboard.hpp:286
sf::Keyboard::Scan::Search
@ Search
Keyboard Search key.
Definition Keyboard.hpp:340
sf::Keyboard::Scan::F16
@ F16
Keyboard F16 key.
Definition Keyboard.hpp:265
sf::Keyboard::Scan::K
@ K
Keyboard k and K key.
Definition Keyboard.hpp:205
sf::Keyboard::Scan::LaunchMediaSelect
@ LaunchMediaSelect
Keyboard Launch Media Select key.
Definition Keyboard.hpp:346
sf::Keyboard::Scan::Refresh
@ Refresh
Keyboard Refresh key.
Definition Keyboard.hpp:338
sf::Keyboard::Scan::G
@ G
Keyboard g and G key.
Definition Keyboard.hpp:201
sf::Keyboard::Scan::Left
@ Left
Keyboard Left Arrow key.
Definition Keyboard.hpp:285
sf::Keyboard::Scan::Numpad4
@ Numpad4
Keypad 4 and Left Arrow key.
Definition Keyboard.hpp:299
sf::Keyboard::Scan::W
@ W
Keyboard w and W key.
Definition Keyboard.hpp:217
sf::Keyboard::Scan::Z
@ Z
Keyboard z and Z key.
Definition Keyboard.hpp:220
sf::Keyboard::Scan::RAlt
@ RAlt
Keyboard Right Alt key.
Definition Keyboard.hpp:334
sf::Keyboard::Scan::F
@ F
Keyboard f and F key.
Definition Keyboard.hpp:200
sf::Keyboard::Scan::Delete
@ Delete
Keyboard Delete Forward key.
Definition Keyboard.hpp:281
sf::Keyboard::Scan::Select
@ Select
Keyboard Select key.
Definition Keyboard.hpp:315
sf::Keyboard::Scan::Num3
@ Num3
Keyboard 3 and # key.
Definition Keyboard.hpp:223
sf::Keyboard::Scan::Numpad9
@ Numpad9
Keypad 9 and Page Up key.
Definition Keyboard.hpp:304
sf::Keyboard::Scan::Space
@ Space
Keyboard Space key.
Definition Keyboard.hpp:235
sf::Keyboard::Scan::PageDown
@ PageDown
Keyboard Page Down key.
Definition Keyboard.hpp:283
sf::Keyboard::Scan::VolumeMute
@ VolumeMute
Keyboard Volume Mute key.
Definition Keyboard.hpp:321
sf::Keyboard::Scan::F6
@ F6
Keyboard F6 key.
Definition Keyboard.hpp:255
sf::Keyboard::Scan::S
@ S
Keyboard s and S key.
Definition Keyboard.hpp:213
sf::Keyboard::Scan::Numpad7
@ Numpad7
Keypad 7 and Home key.
Definition Keyboard.hpp:302
sf::Keyboard::Scan::LBracket
@ LBracket
Keyboard [ and { key.
Definition Keyboard.hpp:238
sf::Keyboard::Scan::F2
@ F2
Keyboard F2 key.
Definition Keyboard.hpp:251
sf::Keyboard::Scan::H
@ H
Keyboard h and H key.
Definition Keyboard.hpp:202
sf::Keyboard::Scan::Pause
@ Pause
Keyboard Pause key.
Definition Keyboard.hpp:277
sf::Keyboard::Scan::MediaPlayPause
@ MediaPlayPause
Keyboard Media Play Pause key.
Definition Keyboard.hpp:324
sf::Keyboard::Scan::NonUsBackslash
@ NonUsBackslash
Keyboard Non-US \ and | key.
Definition Keyboard.hpp:309
sf::Keyboard::Scan::Help
@ Help
Keyboard Help key.
Definition Keyboard.hpp:313
sf::Keyboard::Scan::F5
@ F5
Keyboard F5 key.
Definition Keyboard.hpp:254
sf::Keyboard::Scan::F11
@ F11
Keyboard F11 key.
Definition Keyboard.hpp:260
sf::Keyboard::Scan::F19
@ F19
Keyboard F19 key.
Definition Keyboard.hpp:268
sf::Keyboard::Scan::F22
@ F22
Keyboard F22 key.
Definition Keyboard.hpp:271
sf::Keyboard::Scan::Numpad2
@ Numpad2
Keypad 2 and Down Arrow key.
Definition Keyboard.hpp:297
sf::Keyboard::Scan::T
@ T
Keyboard t and T key.
Definition Keyboard.hpp:214
sf::Keyboard::Scan::Numpad6
@ Numpad6
Keypad 6 and Right Arrow key.
Definition Keyboard.hpp:301
sf::Keyboard::Scan::Numpad0
@ Numpad0
Keypad 0 and Insert key.
Definition Keyboard.hpp:305
sf::Keyboard::Scan::B
@ B
Keyboard b and B key.
Definition Keyboard.hpp:196
sf::Keyboard::Scan::Application
@ Application
Keyboard Application key.
Definition Keyboard.hpp:310
sf::Keyboard::Scan::M
@ M
Keyboard m and M key.
Definition Keyboard.hpp:207
sf::Keyboard::Scan::RBracket
@ RBracket
Keyboard ] and } key.
Definition Keyboard.hpp:239
sf::Keyboard::Scan::NumpadEqual
@ NumpadEqual
keypad = key
Definition Keyboard.hpp:293
sf::Keyboard::Scan::Slash
@ Slash
Keyboard / and ? key.
Definition Keyboard.hpp:249
sf::Keyboard::Scan::F7
@ F7
Keyboard F7 key.
Definition Keyboard.hpp:256
sf::Keyboard::Scan::LSystem
@ LSystem
Keyboard Left System key.
Definition Keyboard.hpp:331
sf::Keyboard::Scan::F1
@ F1
Keyboard F1 key.
Definition Keyboard.hpp:250
sf::Keyboard::Scan::End
@ End
Keyboard End key.
Definition Keyboard.hpp:282
sf::Keyboard::Scan::Semicolon
@ Semicolon
Keyboard ; and : key.
Definition Keyboard.hpp:244
sf::Keyboard::Scan::NumpadDecimal
@ NumpadDecimal
Keypad . and Delete key.
Definition Keyboard.hpp:295
sf::Keyboard::Scan::RSystem
@ RSystem
Keyboard Right System key.
Definition Keyboard.hpp:335
sf::Keyboard::Scan::Y
@ Y
Keyboard y and Y key.
Definition Keyboard.hpp:219
sf::Keyboard::Scan::Backspace
@ Backspace
Keyboard Backspace key.
Definition Keyboard.hpp:233
sf::Keyboard::Scan::CapsLock
@ CapsLock
Keyboard Caps Lock key.
Definition Keyboard.hpp:274
sf::Keyboard::Scan::MediaStop
@ MediaStop
Keyboard Media Stop key.
Definition Keyboard.hpp:325
sf::Keyboard::Scan::Up
@ Up
Keyboard Up Arrow key.
Definition Keyboard.hpp:287
sf::Keyboard::Scan::Equal
@ Equal
Keyboard = and +.
Definition Keyboard.hpp:237
sf::Keyboard::Scan::Num6
@ Num6
Keyboard 6 and ^ key.
Definition Keyboard.hpp:226
sf::Keyboard::Scan::N
@ N
Keyboard n and N key.
Definition Keyboard.hpp:208
sf::Keyboard::Scan::Numpad8
@ Numpad8
Keypad 8 and Up Arrow key.
Definition Keyboard.hpp:303
sf::Keyboard::Scan::Copy
@ Copy
Keyboard Copy key.
Definition Keyboard.hpp:319
sf::Keyboard::Scan::LaunchApplication2
@ LaunchApplication2
Keyboard Launch Application 2 key.
Definition Keyboard.hpp:344
sf::Keyboard::Scan::Grave
@ Grave
Keyboard ` and ~ key.
Definition Keyboard.hpp:246
sf::Keyboard::Scan::RShift
@ RShift
Keyboard Right Shift key.
Definition Keyboard.hpp:333
sf::Keyboard::Scan::F14
@ F14
Keyboard F14 key.
Definition Keyboard.hpp:263
sf::Keyboard::Scan::PrintScreen
@ PrintScreen
Keyboard Print Screen key.
Definition Keyboard.hpp:275
sf::Keyboard::Scan::Insert
@ Insert
Keyboard Insert key.
Definition Keyboard.hpp:278
sf::Keyboard::Scan::Numpad5
@ Numpad5
Keypad 5 key.
Definition Keyboard.hpp:300
sf::Keyboard::Scan::D
@ D
Keyboard d and D key.
Definition Keyboard.hpp:198
sf::Keyboard::Scan::HomePage
@ HomePage
Keyboard Home Page key.
Definition Keyboard.hpp:342
sf::Keyboard::Scan::LShift
@ LShift
Keyboard Left Shift key.
Definition Keyboard.hpp:329
sf::Keyboard::Scan::LAlt
@ LAlt
Keyboard Left Alt key.
Definition Keyboard.hpp:330
sf::Keyboard::Scan::F12
@ F12
Keyboard F12 key.
Definition Keyboard.hpp:261
sf::Keyboard::Scan::VolumeDown
@ VolumeDown
Keyboard Volume Down key.
Definition Keyboard.hpp:323
sf::Keyboard::Scan::F17
@ F17
Keyboard F17 key.
Definition Keyboard.hpp:266
sf::Keyboard::Scan::Tab
@ Tab
Keyboard Tab key.
Definition Keyboard.hpp:234
sf::Keyboard::Scan::VolumeUp
@ VolumeUp
Keyboard Volume Up key.
Definition Keyboard.hpp:322
sf::Keyboard::Scan::LControl
@ LControl
Keyboard Left Control key.
Definition Keyboard.hpp:328
sf::Keyboard::Scan::Num7
@ Num7
Keyboard 7 and & key.
Definition Keyboard.hpp:227
sf::Keyboard::Scan::J
@ J
Keyboard j and J key.
Definition Keyboard.hpp:204
sf::Keyboard::Scan::O
@ O
Keyboard o and O key.
Definition Keyboard.hpp:209
sf::Keyboard::Scan::Paste
@ Paste
Keyboard Paste key.
Definition Keyboard.hpp:320
sf::Keyboard::Scan::L
@ L
Keyboard l and L key.
Definition Keyboard.hpp:206
sf::Keyboard::Scan::RControl
@ RControl
Keyboard Right Control key.
Definition Keyboard.hpp:332
sf::Keyboard::Scan::LaunchMail
@ LaunchMail
Keyboard Launch Mail key.
Definition Keyboard.hpp:345
sf::Keyboard::Scan::NumpadPlus
@ NumpadPlus
Keypad + key.
Definition Keyboard.hpp:292
sf::Keyboard::Scan::ScrollLock
@ ScrollLock
Keyboard Scroll Lock key.
Definition Keyboard.hpp:276
sf::Keyboard::Scan::NumpadMultiply
@ NumpadMultiply
Keypad * key.
Definition Keyboard.hpp:290
sf::Keyboard::Scan::Num5
@ Num5
Keyboard 5 and % key.
Definition Keyboard.hpp:225
sf::Keyboard::Scan::Numpad1
@ Numpad1
Keypad 1 and End key.
Definition Keyboard.hpp:296
sf::Keyboard::Scan::LaunchApplication1
@ LaunchApplication1
Keyboard Launch Application 1 key.
Definition Keyboard.hpp:343
sf::Keyboard::Scan::MediaPreviousTrack
@ MediaPreviousTrack
Keyboard Media Previous Track key.
Definition Keyboard.hpp:327
sf::Keyboard::Scan::Apostrophe
@ Apostrophe
Keyboard ' and " key.
Definition Keyboard.hpp:245
sf::Keyboard::Scan::NumpadDivide
@ NumpadDivide
Keypad / key.
Definition Keyboard.hpp:289
sf::Keyboard::Scan::F23
@ F23
Keyboard F23 key.
Definition Keyboard.hpp:272
sf::Keyboard::Scan::Undo
@ Undo
Keyboard Undo key.
Definition Keyboard.hpp:317
sf::Keyboard::Scan::Escape
@ Escape
Keyboard Escape key.
Definition Keyboard.hpp:232
sf::Keyboard::Scan::F15
@ F15
Keyboard F15 key.
Definition Keyboard.hpp:264
sf::Keyboard::Scan::V
@ V
Keyboard v and V key.
Definition Keyboard.hpp:216
sf::Keyboard::Scan::I
@ I
Keyboard i and I key.
Definition Keyboard.hpp:203
sf::Keyboard::Scan::NumLock
@ NumLock
Keypad Num Lock and Clear key.
Definition Keyboard.hpp:288
sf::Keyboard::Scan::C
@ C
Keyboard c and C key.
Definition Keyboard.hpp:197
sf::Keyboard::Scan::Favorites
@ Favorites
Keyboard Favorites key.
Definition Keyboard.hpp:341
sf::Keyboard::Scan::NumpadEnter
@ NumpadEnter
Keypad Enter/Return key.
Definition Keyboard.hpp:294
sf::Keyboard::Scan::Menu
@ Menu
Keyboard Menu key.
Definition Keyboard.hpp:314
sf::Keyboard::Scan::Redo
@ Redo
Keyboard Redo key.
Definition Keyboard.hpp:316
sf::Keyboard::Scan::F21
@ F21
Keyboard F21 key.
Definition Keyboard.hpp:270
sf::Keyboard::Scan::Enter
@ Enter
Keyboard Enter/Return key.
Definition Keyboard.hpp:231
sf::Keyboard::Scan::Forward
@ Forward
Keyboard Forward key.
Definition Keyboard.hpp:337
sf::Keyboard::Scan::Num0
@ Num0
Keyboard 0 and ) key.
Definition Keyboard.hpp:230
sf::Keyboard::Scan::ModeChange
@ ModeChange
Keyboard Mode Change key.
Definition Keyboard.hpp:312
sf::Keyboard::Scan::Num1
@ Num1
Keyboard 1 and ! key.
Definition Keyboard.hpp:221
sf::Keyboard::Scan::E
@ E
Keyboard e and E key.
Definition Keyboard.hpp:199
sf::Keyboard::Scan::Period
@ Period
Keyboard . and > key.
Definition Keyboard.hpp:248
sf::Keyboard::Scan::F9
@ F9
Keyboard F9 key.
Definition Keyboard.hpp:258
sf::Keyboard::Scan::F8
@ F8
Keyboard F8 key.
Definition Keyboard.hpp:257
sf::Keyboard::Scan::NumpadMinus
@ NumpadMinus
Keypad - key.
Definition Keyboard.hpp:291
sf::Keyboard::Scan::F4
@ F4
Keyboard F4 key.
Definition Keyboard.hpp:253
sf::Keyboard::Scan::F18
@ F18
Keyboard F18 key.
Definition Keyboard.hpp:267
sf::Keyboard::Scan::Back
@ Back
Keyboard Back key.
Definition Keyboard.hpp:336
sf::Keyboard::Scan::Home
@ Home
Keyboard Home key.
Definition Keyboard.hpp:279
sf::Keyboard::Scan::Hyphen
@ Hyphen
Keyboard - and _ key.
Definition Keyboard.hpp:236
sf::Keyboard::Scan::U
@ U
Keyboard u and U key.
Definition Keyboard.hpp:215
sf::Keyboard::Scan::F10
@ F10
Keyboard F10 key.
Definition Keyboard.hpp:259
sf::Keyboard::Scan::Num8
@ Num8
Keyboard 8 and * key.
Definition Keyboard.hpp:228
sf::Keyboard::Scan::Num9
@ Num9
Keyboard 9 and ) key.
Definition Keyboard.hpp:229
sf::Keyboard::Scan::R
@ R
Keyboard r and R key.
Definition Keyboard.hpp:212
sf::Keyboard::Scan::F3
@ F3
Keyboard F3 key.
Definition Keyboard.hpp:252
sf::Keyboard::Scan::F13
@ F13
Keyboard F13 key.
Definition Keyboard.hpp:262
sf::Keyboard::Scan::X
@ X
Keyboard x and X key.
Definition Keyboard.hpp:218
sf::Keyboard::Scan::Cut
@ Cut
Keyboard Cut key.
Definition Keyboard.hpp:318
sf::Keyboard::Scan::Q
@ Q
Keyboard q and Q key.
Definition Keyboard.hpp:211