Choreonoid  1.8
Public Member Functions | List of all members
cnoid::JoystickInterface Class Referenceabstract

#include <JoystickInterface.h>

Inheritance diagram for cnoid::JoystickInterface:
cnoid::Joystick

Public Member Functions

virtual int numAxes () const =0
 
virtual int numButtons () const =0
 
virtual bool readCurrentState ()=0
 
virtual double getPosition (int axis) const =0
 
virtual bool getButtonState (int button) const =0
 

Member Function Documentation

◆ getButtonState()

virtual bool cnoid::JoystickInterface::getButtonState ( int  button) const
pure virtual

Implemented in cnoid::Joystick.

◆ getPosition()

virtual double cnoid::JoystickInterface::getPosition ( int  axis) const
pure virtual

Implemented in cnoid::Joystick.

◆ numAxes()

virtual int cnoid::JoystickInterface::numAxes ( ) const
pure virtual

Implemented in cnoid::Joystick.

◆ numButtons()

virtual int cnoid::JoystickInterface::numButtons ( ) const
pure virtual

Implemented in cnoid::Joystick.

◆ readCurrentState()

virtual bool cnoid::JoystickInterface::readCurrentState ( )
pure virtual

Implemented in cnoid::Joystick.


The documentation for this class was generated from the following file: