25#ifndef SFML_KEYBOARD_H
26#define SFML_KEYBOARD_H
@ sfScanLaunchMediaSelect
Keyboard Launch Media Select key.
@ sfScanVolumeDown
Keyboard Volume Down key.
@ sfScanF3
Keyboard F3 key.
@ sfScanApostrophe
Keyboard ' and " key.
@ sfScanO
Keyboard o and O key.
@ sfScanLControl
Keyboard Left Control key.
@ sfScanMenu
Keyboard Menu key.
@ sfScanF
Keyboard f and F key.
@ sfScanLShift
Keyboard Left Shift key.
@ sfScanF16
Keyboard F16 key.
@ sfScanSelect
Keyboard Select key.
@ sfScanB
Keyboard b and B key.
@ sfScanW
Keyboard w and W key.
@ sfScanLaunchApplication2
Keyboard Launch Application 2 key.
@ sfScanNumpad5
Keypad 5 key.
@ sfScanF19
Keyboard F19 key.
@ sfScanY
Keyboard y and Y key.
@ sfScanX
Keyboard x and X key.
@ sfScanF9
Keyboard F9 key.
@ sfScanF2
Keyboard F2 key.
@ sfScanNumpadMinus
Keypad - key.
@ sfScanPause
Keyboard Pause key.
@ sfScanNum6
Keyboard 6 and ^ key.
@ sfScanS
Keyboard s and S key.
@ sfScanR
Keyboard r and R key.
@ sfScanUndo
Keyboard Undo key.
@ sfScanE
Keyboard e and E key.
@ sfScanNum2
Keyboard 2 and @ key.
@ sfScanF17
Keyboard F17 key.
@ sfScanRBracket
Keyboard ] and } key.
@ sfScanPeriod
Keyboard . and > key.
@ sfScanHyphen
Keyboard - and _ key.
@ sfScanNum0
Keyboard 0 and ) key.
@ sfScanF8
Keyboard F8 key.
@ sfScanExecute
Keyboard Execute key.
@ sfScanSlash
Keyboard / and ? key.
@ sfScanF1
Keyboard F1 key.
@ sfScanU
Keyboard u and U key.
@ sfScanNumpadDecimal
Keypad . and Delete key.
@ sfScanVolumeUp
Keyboard Volume Up key.
@ sfScanN
Keyboard n and N key.
@ sfScanFavorites
Keyboard Favorites key.
@ sfScanTab
Keyboard Tab key.
@ sfScanF10
Keyboard F10 key.
@ sfScanPrintScreen
Keyboard Print Screen key.
@ sfScanRShift
Keyboard Right Shift key.
@ sfScanNum7
Keyboard 7 and & key.
@ sfScanDelete
Keyboard Delete Forward key.
@ sfScanZ
Keyboard z and Z key.
@ sfScanCut
Keyboard Cut key.
@ sfScanNumpad8
Keypad 8 and Up Arrow key.
@ sfScanF18
Keyboard F18 key.
@ sfScanEscape
Keyboard Escape key.
@ sfScanF23
Keyboard F23 key.
@ sfScanHelp
Keyboard Help key.
@ sfScanLaunchMail
Keyboard Launch Mail key.
@ sfScanNumpad7
Keypad 7 and Home key.
@ sfScanLBracket
Keyboard [ and { key.
@ sfScanNumpadDivide
Keypad / key.
@ sfScanC
Keyboard c and C key.
@ sfScanNumpadEnter
Keypad Enter/Return key.
@ sfScanL
Keyboard l and L key.
@ sfScanSpace
Keyboard Space key.
@ sfScanRControl
Keyboard Right Control key.
@ sfScanF13
Keyboard F13 key.
@ sfScanF11
Keyboard F11 key.
@ sfScanPageDown
Keyboard Page Down key.
@ sfScanNum3
Keyboard 3 and # key.
@ sfScanPageUp
Keyboard Page Up key.
@ sfScanK
Keyboard k and K key.
@ sfScanNumpadMultiply
Keypad * key.
@ sfScanA
Keyboard a and A key.
@ sfScanStop
Keyboard Stop key.
@ sfScanNumpad3
Keypad 3 and Page Down key.
@ sfScanMediaPlayPause
Keyboard Media Play Pause key.
@ sfScanBackslash
Keyboard \ and | key OR various keys for Non-US keyboards.
@ sfScanRSystem
Keyboard Right System key.
@ sfScanNum1
Keyboard 1 and ! key.
@ sfScanModeChange
Keyboard Mode Change key.
@ sfScanRefresh
Keyboard Refresh key.
@ sfScanEqual
Keyboard = and +.
@ sfScanF24
Keyboard F24 key.
@ sfScanScrollLock
Keyboard Scroll Lock key.
@ sfScanBackspace
Keyboard Backspace key.
@ sfScanM
Keyboard m and M key.
@ sfScanUp
Keyboard Up Arrow key.
@ sfScanMediaPreviousTrack
Keyboard Media Previous Track key.
@ sfScanBack
Keyboard Back key.
@ sfScanNum9
Keyboard 9 and ) key.
@ sfScanNumpad6
Keypad 6 and Right Arrow key.
@ sfScanCapsLock
Keyboard Caps Lock key.
@ sfScanNumLock
Keypad Num Lock and Clear key.
@ sfScanPaste
Keyboard Paste key.
@ sfScanNumpad0
Keypad 0 and Insert key.
@ sfScanGrave
Keyboard ` and ~ key.
@ sfScanI
Keyboard i and I key.
@ sfScanNum8
Keyboard 8 and * key.
@ sfScanF15
Keyboard F15 key.
@ sfScanMediaStop
Keyboard Media Stop key.
@ sfScanComma
Keyboard , and < key.
@ sfScanF4
Keyboard F4 key.
@ sfScanP
Keyboard p and P key.
@ sfScanRight
Keyboard Right Arrow key.
@ sfScanF7
Keyboard F7 key.
@ sfScanNumpad2
Keypad 2 and Down Arrow key.
@ sfScanT
Keyboard t and T key.
@ sfScanHome
Keyboard Home key.
@ sfScanSemicolon
Keyboard ; and : key.
@ sfScanLSystem
Keyboard Left System key.
@ sfScanH
Keyboard h and H key.
@ sfScanVolumeMute
Keyboard Volume Mute key.
@ sfScanF6
Keyboard F6 key.
@ sfScanForward
Keyboard Forward key.
@ sfScanMediaNextTrack
Keyboard Media Next Track key.
@ sfScanQ
Keyboard q and Q key.
@ sfScanF20
Keyboard F20 key.
@ sfScanNumpad1
Keypad 1 and End key.
@ sfScanV
Keyboard v and V key.
@ sfScanF14
Keyboard F14 key.
@ sfScanInsert
Keyboard Insert key.
@ sfScanF5
Keyboard F5 key.
@ sfScanRAlt
Keyboard Right Alt key.
@ sfScanRedo
Keyboard Redo key.
@ sfScanCopy
Keyboard Copy key.
@ sfScanD
Keyboard d and D key.
@ sfScanDown
Keyboard Down Arrow key.
@ sfScanNumpad9
Keypad 9 and Page Up key.
@ sfScanLeft
Keyboard Left Arrow key.
@ sfScancodeCount
Keep last – the total number of scancodes.
@ sfScanJ
Keyboard j and J key.
@ sfScanF12
Keyboard F12 key.
@ sfScanApplication
Keyboard Application key.
@ sfScanNumpadPlus
Keypad + key.
@ sfScanNum4
Keyboard 4 and $ key.
@ sfScanLAlt
Keyboard Left Alt key.
@ sfScanG
Keyboard g and G key.
@ sfScanUnknown
Represents any scancode not present in this enum.
@ sfScanEnd
Keyboard End key.
@ sfScanHomePage
Keyboard Home Page key.
@ sfScanNum5
Keyboard 5 and % key.
@ sfScanF22
Keyboard F22 key.
@ sfScanEnter
Keyboard Enter/Return key.
@ sfScanNonUsBackslash
Keyboard Non-US \ and | key.
@ sfScanNumpad4
Keypad 4 and Left Arrow key.
@ sfScanSearch
Keyboard Search key.
@ sfScanNumpadEqual
keypad = key
@ sfScanF21
Keyboard F21 key.
@ sfScanLaunchApplication1
Keyboard Launch Application 1 key.
const char * sfKeyboard_getDescription(sfScancode code)
Provide a string representation for a given scancode.
sfBool sfKeyboard_isKeyPressed(sfKeyCode key)
Check if a key is pressed.
sfBool sfKeyboard_isScancodePressed(sfScancode code)
Check if a key is pressed.
@ sfKeyUnknown
Unhandled key.
@ sfKeyPageUp
The Page up key.
@ sfKeySemicolon
The ; key.
@ sfKeySubtract
The - key (minus, usually from numpad)
@ sfKeyBackspace
The Backspace key.
@ sfKeyRShift
The right Shift key.
@ sfKeyLShift
The left Shift key.
@ sfKeyNumpad0
The numpad 0 key.
@ sfKeyNumpad4
The numpad 4 key.
@ sfKeyNumpad7
The numpad 7 key.
@ sfKeyDelete
The Delete key.
@ sfKeyHyphen
The - key (hyphen)
@ sfKeyLSystem
The left OS specific key: window (Windows and Linux), apple (macOS), ...
@ sfKeyNumpad6
The numpad 6 key.
@ sfKeyNumpad3
The numpad 3 key.
@ sfKeyNumpad8
The numpad 8 key.
@ sfKeyLControl
The left Control key.
@ sfKeyRBracket
The ] key.
@ sfKeyRSystem
The right OS specific key: window (Windows and Linux), apple (macOS), ...
@ sfKeyTab
The Tabulation key.
@ sfKeyMultiply
The * key.
@ sfKeyPause
The Pause key.
@ sfKeyNumpad1
The numpad 1 key.
@ sfKeyEnter
The Enter/Return key.
@ sfKeyNumpad9
The numpad 9 key.
@ sfKeyCount
Keep last – the total number of keyboard keys.
@ sfKeyNumpad5
The numpad 5 key.
@ sfKeyLBracket
The [ key.
@ sfKeyLAlt
The left Alt key.
@ sfKeyRAlt
The right Alt key.
@ sfKeyNumpad2
The numpad 2 key.
@ sfKeyEscape
The Escape key.
@ sfKeyApostrophe
The ' key.
@ sfKeyRControl
The right Control key.
@ sfKeyInsert
The Insert key.
@ sfKeyPageDown
The Page down key.
@ sfKeyBackslash
The \ key.
@ sfKeySpace
The Space key.
sfKeyCode sfKeyboard_localize(sfScancode code)
Localize a physical key to a logical one.
sfScancode sfKeyboard_delocalize(sfKeyCode key)
Identify the physical key corresponding to a logical one.
void sfKeyboard_setVirtualKeyboardVisible(sfBool visible)
Show or hide the virtual keyboard.