SDL::SDLKey
Constructors
- UnknownKey()
- NormalKey(Char c)
- NumpadKey(Int n)
- FunctionKey(Int f)
- ArrowUpKey()
- ArrowDownKey()
- ArrowLeftKey()
- ArrowRightKey()
- InsertKey()
- HomeKey()
- EndKey()
- PageUpKey()
- PageDownKey()
Usage
A key press. Most keys are represented by NormalKey, which contains the key in Char form. Numeric pad numbers are represented using NumpadKey, and function keys with FunctionKey. Additional constructors represent other special keys such as 'Page up' or 'Left arrow'. If the key is unrecognised, UnknownKey is returned.