30 int m_x_min,m_x_max,m_y_min,m_y_max,
m_z_min,m_z_max;
33 #if defined(MRPT_OS_LINUX) 53 static int getJoysticksCount();
72 bool getJoystickPosition(
77 std::vector<bool> &buttons,
80 int *raw_z_pos=NULL );
87 #ifdef MRPT_OS_WINDOWS 88 void setLimits(
int x_min = 0,
int x_max = 0xFFFF,
int y_min=0,
int y_max = 0xFFFF,
int z_min=0,
int z_max = 0xFFFF );
90 void setLimits(
int x_min = -32767,
int x_max = 32767,
int y_min=-32767,
int y_max = 32767,
int z_min=-32767,
int z_max = 32767);
std::vector< bool > vector_bool
A type for passing a vector of bools.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::vector< int32_t > vector_int
Access to joysticks and gamepads (read buttons and position), and request number of joysticks in the ...