#include <Joystick.hpp>
|
| | Joystick () |
| |
| | ~Joystick () |
| |
| virtual bool | open (const char *device) |
| |
| virtual void | close () |
| |
| virtual void | loop () |
| |
| virtual void | on_event (std::function< void(struct js_event)> action) |
| |
| virtual void | on_button (std::function< void(int, bool)> action) |
| |
| virtual void | on_axis (std::function< void(int, double)> action) |
| |
| virtual std::string | name () |
| |
| std::string Joystick::name |
( |
| ) |
|
|
virtual |
| void Joystick::on_axis |
( |
std::function< void(int, double)> |
action | ) |
|
|
virtual |
| void Joystick::on_button |
( |
std::function< void(int, bool)> |
action | ) |
|
|
virtual |
| void Joystick::on_event |
( |
std::function< void(struct js_event)> |
action | ) |
|
|
virtual |
| bool Joystick::open |
( |
const char * |
device | ) |
|
|
virtual |
The documentation for this class was generated from the following files: