class
#include <nCine/Input/InputEvents.h>
MouseState Information about mouse state.
Derived classes
- class AndroidMouseState
- Information about Android mouse state.
- class GlfwMouseState
- Information about GLFW mouse state.
- class Qt5MouseState
- Information about Qt5 mouse state.
- class SdlMouseState
- Information about SDL mouse state.
- class UwpMouseState
- Information about UWP mouse state.
Public functions
- auto isLeftButtonDown() const -> bool pure virtual
- auto isMiddleButtonDown() const -> bool pure virtual
- auto isRightButtonDown() const -> bool pure virtual
- auto isFourthButtonDown() const -> bool pure virtual
- auto isFifthButtonDown() const -> bool pure virtual
Public variables
-
std::
int32_t x - Pointer position on the X axis.
-
std::
int32_t y - Pointer position on the Y axis.