DRC Controller Library (VPAD) API Function List

Controller Functions

VPADInit DEPRECATED Initializes the VPAD library.
VPADShutdown DEPRECATED Stops the VPAD library.
VPADRead Gets data.
VPADGetAccParam Gets the play radius and sensitivity for the set acceleration sensor.
VPADSetAccParam Adjusts the play radius and sensitivity for the acceleration sensor.
VPADGetAccPlayMode Gets the play mode for the set acceleration sensor.
VPADSetAccPlayMode Sets the play mode for the acceleration sensor.
VPADSetBtnRepeat Sets the digital button repeat functionality.
VPADEnableStickCrossClamp Sets the stick's clamping method to cross clamping.
VPADDisableStickCrossClamp Sets the stick's clamping method to circular clamping.
VPADSetStickOrigin Resets origin point of analog stick.
VPADSetLStickClampThreshold Sets the clamp threshold of left stick.
VPADSetRStickClampThreshold Sets the clamp threshold of right stick.
VPADGetLStickClampThreshold Gets the clamp threshold of left stick.
VPADGetRStickClampThreshold Gets the clamp threshold of right stick.
VPADSetCrossStickEmulationParamsL/R Sets the stick emulation parameters.
VPADGetCrossStickEmulationParamsL/R Gets the stick emulation parameters.
VPADSetSamplingCallback Registers the sampling callback for the application.
VPADGetButtonProcMode Gets the button processing method used inside VPADRead.
VPADSetButtonProcMode Sets the button processing method used inside VPADRead.

Gyroscope Data Processing Functions

VPADSetGyroAngle Resets angle, in the VPADStatus structure obtained by the VPADRead function for the DRC, with arbitrary values.
VPADSetGyroDirection Resets dir, in the VPADStatus structure obtained by the VPADRead function for the DRC, with arbitrary values.
VPADSetGyroDirectionMag Sets the magnitude to be applied to the angular velocity value used to internally calculate the dir member of the VPADStatus structure obtained by the VPADRead function for the DRC.
VPADSetGyroMagnification Sets the scaling to apply to each direction when calculating angular speed for the DRC.
VPADEnableGyroZeroPlay Enables zero-point tolerance for the DRC.
VPADEnableGyroDirRevise Enables attitude correction for the DRC.
VPADEnableGyroAccRevise Enables acceleration correction for the DRC.
VPADDisableGyroZeroPlay Disables zero-point tolerance for the DRC.
VPADDisableGyroDirRevise Disables attitude correction for the DRC.
VPADDisableGyroAccRevise Disables acceleration correction for the DRC.
VPADIsEnableGyroZeroPlay Checks if zero-point play tolerance is enabled for the DRC. Returns the correction level when enabled.
VPADIsEnableGyroZeroDrift Gets the level of zero-point drift correction of the DRC.
VPADIsEnableGyroDirRevise Checks if attitude correction is enabled for the DRC. Returns the correction level when enabled.
VPADIsEnableGyroAccRevise Checks if acceleration correction is enabled for the DRC. Returns the correction level when enabled.
VPADSetGyroZeroPlayParam Sets the at-rest (zero-point) play tolerance for the DRC.
VPADSetGyroZeroDriftMode Sets the zero-point drift correction mode of the DRC.
VPADSetGyroDirReviseParam Configures the level of attitude correction for the DRC.
VPADSetGyroDirReviseBase Configures the base attitude to use when using attitude correction with the DRC.
VPADSetGyroAccReviseParam Configures the level of acceleration correction for the DRC.
VPADGetGyroZeroPlayParam Gets the zero-point play tolerance for the DRC.
VPADGetGyroZeroDriftMode Gets the zero-point drift correction mode of the DRC.
VPADGetGyroDirReviseParam Gets the level of attitude correction for the DRC.
VPADGetGyroAccReviseParam Gets the level of acceleration correction for the DRC.
VPADInitGyroZeroPlayParam Initializes the zero-point tolerance for the DRC.
VPADInitGyroZeroDriftMode Initializes the zero-point drift correction mode of the DRC.
VPADInitGyroDirReviseParam Initializes the level of attitude correction for the DRC.
VPADInitGyroAccReviseParam Initializes the level of acceleration correction for the DRC.
VPADStartGyroMagRevise Starts attitude correction using magnetometer.
VPADStopGyroMagRevise Stops attitude correction using magnetometer.
VPADIsStartedGyroMagRevise Checks if attitude correction using magnetometer is enabled for the DRC.
VPADSetGyroMagReviseParam Configures the level of attitude correction using magnetometer for the DRC.
VPADGetGyroMagReviseParam Gets the level of attitude correction using magnetometer.

Touch Panel Functions

VPADCalcTPCalibrationParam Calculates calibration parameters that are based on coordinates of two points.
VPADSetTPCalibrationParam Sets touch panel calibration values.
VPADGetTPCalibrationParam Acquires touch panel calibration values.
VPADGetTPCalibratedPoint Gets values that have been converted to screen coordinates.
VPADGetTPCalibratedPointEx Gets values that have been converted to the coordinates designated by the parameter.

Vibrating Motor Functions

VPADControlMotor Controls the rumble feature for the DRC of the specified channel.
VPADStopMotor Stops the rumble feature of the specified channel's DRC.

Sensor Bar Functions

VPADSetSensorBar Powers the DRC sensor bar ON or OFF.

LCD Functions

VPADGetLcdMode Gets the LCD mode of DRC.
VPADSetLcdMode Sets the LCD mode of DRC.

Structures and Unions

VPADStatus Stores controller data in the VPAD library.
VPADTPData Stores touch panel information.

Revision History

2013/08/21 Added new APIs for attitude correction using magnetometer.
2013/05/16 Added new APIs.
2013/05/08 Automated cleanup pass.


CONFIDENTIAL