|
QuasarEngine
Cross-platform 3D engine and editor
|
Functions that read the current state of the keyboard and the mouse. More...
Go to the source code of this file.
Namespaces | |
| namespace | Quasar |
| Contains all the engine code. | |
| namespace | Quasar::Input |
| Functions that read the current state of the keyboard and the mouse, as an alternative to events. | |
Functions | |
| bool | Quasar::Input::IsKeyPressed (Key key) |
| Returns true if the key is held down. | |
| bool | Quasar::Input::IsMouseButtonPressed (MouseButton button) |
| Returns true if the mouse button is held down. | |
| glm::vec2 | Quasar::Input::GetMousePosition () |
| Returns the position of the cursor, in screen coordinates, from the top-left corner of the drawing area. | |
Functions that read the current state of the keyboard and the mouse.