struct EE::Window::InputEvent::MouseButtonEvent¶
Overview¶
Mouse button event structure More…
#include <inputevent.hpp> struct MouseButtonEvent { // fields Uint8 which; Uint8 button; Uint8 state; Int16 x; Int16 y; };
Detailed Documentation¶
Mouse button event structure
Fields¶
Uint8 button
The mouse device index
Uint8 state
The mouse button index
Int16 x
EE_PRESSED or EE_RELEASED