WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

setAnalogMode

Activates the joysticks.
Unless this command is issued successfully then you will only be able to access the pushbuttons on the controller.
Returns FALSE if communication with the controller failed.
Syntax
SonyPS2. setAnalogMode()
Where SonyPS2 is the name you have given to the device in Project Designer.
Parameters
None
Returns
boolean
Note
Note that the 'calibrate' function will automatically try to call this command.

 

 

Valid XHTML 1.0 Transitional