class
InputEventBase for input events.
Derived classes
- class MouseEvent deprecated in Git master
- Mouse event.
- class MouseMoveEvent deprecated in Git master
- Mouse move event.
- class PointerEvent new in Git master
- Pointer event.
- class PointerMoveEvent new in Git master
- Pointer move event.
Constructors, destructors, conversion operators
- InputEvent(const InputEvent&) deleted
- Copying is not allowed.
- InputEvent(InputEvent&&) deleted
- Moving is not allowed.
Public functions
- auto operator=(const InputEvent&) -> InputEvent& deleted
- Copying is not allowed.
- auto operator=(InputEvent&&) -> InputEvent& deleted
- Moving is not allowed.
- void setAccepted(bool accepted = true)
- Set event as accepted.
- auto isAccepted() const -> bool
- Whether the event is accepted.
Function documentation
void Magnum:: Platform:: AndroidApplication:: InputEvent:: setAccepted(bool accepted = true)
Set event as accepted.
If the event is ignored (i.e., not set as accepted), it will be propagated elsewhere, for example to the Android system or to another screen when using ScreenedApplication. By default is each event ignored and thus propagated.