#include <SharedJoystick.h>
◆ SharedJoystick()
cnoid::SharedJoystick::SharedJoystick |
( |
| ) |
|
|
inline |
◆ addMode()
int cnoid::SharedJoystick::addMode |
( |
| ) |
|
|
inline |
◆ getButtonState() [1/2]
bool cnoid::SharedJoystick::getButtonState |
( |
int |
button | ) |
const |
|
inline |
◆ getButtonState() [2/2]
bool cnoid::SharedJoystick::getButtonState |
( |
int |
targetMode, |
|
|
int |
button |
|
) |
| const |
|
inline |
◆ getModeButtonState()
bool cnoid::SharedJoystick::getModeButtonState |
( |
| ) |
|
|
inline |
◆ getPosition() [1/2]
double cnoid::SharedJoystick::getPosition |
( |
int |
axis, |
|
|
double |
threshold = 0.0 |
|
) |
| const |
|
inline |
◆ getPosition() [2/2]
double cnoid::SharedJoystick::getPosition |
( |
int |
targetMode, |
|
|
int |
axis, |
|
|
double |
threshold = 0.0 |
|
) |
| const |
|
inline |
◆ isMode()
bool cnoid::SharedJoystick::isMode |
( |
int |
id | ) |
const |
|
inline |
◆ mode()
int cnoid::SharedJoystick::mode |
( |
| ) |
const |
|
inline |
◆ setJoystick()
◆ setMode()
void cnoid::SharedJoystick::setMode |
( |
int |
id | ) |
|
|
inline |
◆ updateState()
void cnoid::SharedJoystick::updateState |
( |
int |
targetMode | ) |
|
|
inline |
◆ MODE_BUTTON1
◆ MODE_BUTTON2
The documentation for this class was generated from the following file: