Lysa  0.0
Lysa 3D Engine
InputEventGamepadButton Class Reference

Detailed Description

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)
 

Constructor & Destructor Documentation

InputEventGamepadButton ( const GamepadButton  button,
const bool  pressed 
)
inline

Member Function Documentation

auto getGamepadButton ( ) const
inline

Return the gamepad button

auto isPressed ( ) const
inline

Returns true if the gamepad button is pressed