| libsuit
    0.1.1
    SFML User Interface Toolkit | 
A gamepad axis control. More...
#include <ui/Control.h>

| Public Member Functions | |
| GamepadAxisControl (unsigned int id, sf::Joystick::Axis axis, Direction dir) | |
| Construct a gamepad axis control.  More... | |
| virtual void | update (const sf::Event &event) override | 
| Update the state of the control thanks to an event.  More... | |
|  Public Member Functions inherited from ui::Control | |
| Control (std::string name, std::string controller_name) | |
| Construct a control with a name and its controller name.  More... | |
| virtual | ~Control () | 
| Destroy the control.  More... | |
| bool | isActive () | 
| Tell whether the control is active.  More... | |
| void | setActive (bool active=true) | 
| Change the active state of the control.  More... | |
| void | reset () | 
| Desactivate the control.  More... | |
A gamepad axis control.
| ui::GamepadAxisControl::GamepadAxisControl | ( | unsigned int | id, | 
| sf::Joystick::Axis | axis, | ||
| Direction | dir | ||
| ) | 
Construct a gamepad axis control.
| id | the id of the gamepad. | 
| axis | the axis of the gamepad. | 
| dir | the direction of the axis of the gamepad. | 
| 
 | overridevirtual | 
Update the state of the control thanks to an event.
| event | the event to update the control. | 
Implements ui::Control.
 1.8.7
 1.8.7