|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Represents the keyboard input state. More...
#include <Keyboard.hpp>
Public Member Functions | |
| bool | IsKeyUp (Key k) |
| bool | IsKeyDown (Key k) |
| bool | IsAnyKeyDown (Key k) |
| Keyboard () | |
| Constructs an empty keyboard input state. | |
| bool | IsKeyDown (Key k) const noexcept |
| Is the specified key currently down? | |
| bool | IsKeyUp (Key k) const noexcept |
| Is the specified key currently up? | |
| bool | IsAnyKeyDown () const noexcept |
| Is any key currently down? | |
| KeyState | operator[] (const Key k) |
| Returns the key state of the specified key. | |
| uint8_t * | Buffer () const noexcept |
| Low level access to the internal key buffer. | |
Properties | |
| KeyState | this[Key k] [get] |
Friends | |
| class | Native::Window |
Represents the keyboard input state.
| Keyboard::Keyboard | ( | ) |
Constructs an empty keyboard input state.
|
noexcept |
Low level access to the internal key buffer.
|
noexcept |
Is any key currently down?
|
noexcept |
Is the specified key currently down?
| k | Key to check |
|
noexcept |
Is the specified key currently up?
| k | Key to check |
Returns the key state of the specified key.
| k | specified key |
|
friend |