![]() |
Calamity Engine 1.0.0
A cross-platform 2D game engine written in C++ and SDL3.
|
#include <input.hpp>
Public Member Functions | |
| bool | operator== (const InputEvent &other) const |
| bool | operator<= (const InputEvent &other) const |
Public Member Functions inherited from InputEvent | |
| virtual | ~InputEvent ()=default |
| bool | isActionPressed (const std::string &action) const |
| bool | isActionReleased (const std::string &action) const |
| bool | isAction (const std::string &action) const |
| virtual bool | isPressed () const |
| virtual bool | isReleased () const |
| virtual float | getStrength () const |
Public Attributes | |
| int | device |
| bool | connected |
|
virtual |
Reimplemented from InputEvent.
|
virtual |
Reimplemented from InputEvent.
| bool InputEventControllerStatus::connected |
| int InputEventControllerStatus::device |