27 unsigned int m_buttonCount {4};
28 unsigned int m_axisCount {4};
29 unsigned int m_stickCount {4};
30 unsigned int m_touchCount {4};
31 unsigned int m_ballCount {4};
32 unsigned int m_hatCount {4};
40 bool close()
override;
55 bool getRawStickDoF(
unsigned int stick_id,
unsigned int& DoF)
override;
57 bool getRawButton(
unsigned int button_id,
float& value)
override;
61 bool getRawHat(
unsigned int hat_id,
unsigned char& value)
override;
63 bool getRawAxis(
unsigned int axis_id,
double& value)
override;
This class is the parameters parser for class FakeJoypad.
FakeJoypad : fake device implementing the device interface
bool getRawAxisCount(unsigned int &axis_count) override
bool getRawStickDoF(unsigned int stick_id, unsigned int &DoF) override
bool close() override
Close the DeviceDriver.
bool getRawStickCount(unsigned int &stick_count) override
bool getRawTouch(unsigned int touch_id, yarp::sig::Vector &value) override
bool getRawTrackballCount(unsigned int &trackball_count) override
bool getRawStick(unsigned int stick_id, yarp::sig::Vector &value, JoypadCtrl_coordinateMode coordinate_mode) override
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool getRawHatCount(unsigned int &hat_count) override
bool getRawButtonCount(unsigned int &button_count) override
bool getRawHat(unsigned int hat_id, unsigned char &value) override
bool getRawButton(unsigned int button_id, float &value) override
bool getRawTouchSurfaceCount(unsigned int &touch_count) override
bool getRawTrackball(unsigned int trackball_id, yarp::sig::Vector &value) override
bool getRawAxis(unsigned int axis_id, double &value) override
Interface implemented by all device drivers.
JoypadCtrl_coordinateMode
A base class for nested structures that can be searched.