![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Any kind of mouse event. More...
#include <duckcpp/core/engine/IEventReceiver.hpp>
Public Attributes | |
| dcpp::int32_kt | X |
| X position of mouse cursor. | |
| dcpp::int32_kt | Y |
| Y position of mouse cursor. | |
| dcpp::float32_kt | Wheel |
| mouse wheel delta, often 1.0 or -1.0, but can have other values < 0.f or > 0.f; | |
| bool | Shift:1 |
| True if shift was also pressed. | |
| bool | Control:1 |
| True if ctrl was also pressed. | |
| dcpp::uint32_kt | ButtonStates |
| EMOUSE_INPUT_EVENT | Event |
| Type of mouse event. | |
Any kind of mouse event.
| dcpp::uint32_kt dcpp::SEvent::SMouseInput::ButtonStates |
A bitmap of button states. You can use isButtonPressed() to determine if a button is pressed or not. Currently only valid if the event was EMIE_MOUSE_MOVED
| dcpp::float32_kt dcpp::SEvent::SMouseInput::Wheel |
mouse wheel delta, often 1.0 or -1.0, but can have other values < 0.f or > 0.f;
Only valid if event was EMIE_MOUSE_WHEEL