#define ReadSensorMSPlayStation ( _port,
_i2caddr,
_b1,
_b2,
_xleft,
_yleft,
_xright,
_yright,
_result   )     __ReadSensorMSPlayStation(_port, _i2caddr, _b1, _b2, _xleft, _yleft, _xright, _yright, _result)

Read mindsensors playstation controller values.

Read playstation controller values from the mindsensors playstation sensor. Returns a boolean value indicating whether or not the operation completed successfully. The port must be configured as a Lowspeed port before using this function.

Parameters:
_port The sensor port. See NBC Input port constants.
_i2caddr The sensor I2C address. See sensor documentation for this value.
_b1 The button set 1 values. See MindSensors PSP-Nx button set 1 constants.
_b2 The button set 2 values. See MindSensors PSP-Nx button set 2 constants.
_xleft The left joystick x value.
_yleft The left joystick y value.
_xright The right joystick x value.
_yright The right joystick y value.
_result The function call result.

Generated by  doxygen 1.6.2