![]() |
Lysa
0.0
Lysa 3D Engine
|
Gamepad buttons event
Inheritance diagram for InputEventGamepadButton:Public Member Functions | |
| InputEventGamepadButton (const GamepadButton button, const bool pressed) | |
| auto | getGamepadButton () const |
| auto | isPressed () const |
Public Member Functions inherited from InputEvent | |
| InputEventType | getType () const |
Public Member Functions inherited from Object | |
| void | connect (const Signal::signal &name, const Signal::Handler &handler) |
| void | connect (const Signal::signal &name, const std::function< void ()> &handler) |
| void | emit (const Signal::signal &name, void *params=nullptr) |
| virtual std::string | toString () const |
| Object () = default | |
| virtual | ~Object () = default |
Additional Inherited Members | |
Protected Member Functions inherited from InputEvent | |
| InputEvent (const InputEventType type) | |
|
inline |
|
inline |
Return the gamepad button
|
inline |
Returns true if the gamepad button is pressed