78 yCError(
FAKEJOYPAD) <<
"stick_id out of bounds when calling 'getRawStickDoF' method";
89 yCError(
FAKEJOYPAD) <<
"stick_id out of bounds when calling 'getRawButton' method";
111 yCError(
FAKEJOYPAD) <<
"stick_id out of bounds when calling 'getRawStickDoF' method";
122 yCError(
FAKEJOYPAD) <<
"touch_id out of bounds when calling 'getRawTouch' method";
147 yCError(
FAKEJOYPAD) <<
"trackball_id out of bounds when calling 'getRawTrackball' method";
bool parseParams(const yarp::os::Searchable &config) override
Parse the DeviceDriver parameters.
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
JoypadCtrl_coordinateMode
A mini-server for performing network communication in the background.
A base class for nested structures that can be searched.
void resize(size_t size) override
Resize the vector.
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.