mozaSdk
|
函数 | |
WIN_API void | installMozaSDK () |
load sdk 更多... | |
WIN_API void | removeMozaSDK () |
remove sdk 更多... | |
WIN_API std::shared_ptr< RS21::direct_input::ETSine > | createWheelbaseETSine (HWND id, ERRORCODE &err) |
Create a sinusoidal force effector 更多... | |
WIN_API std::shared_ptr< RS21::direct_input::ETConstantForce > | createWheelbaseETConstantForce (HWND id, ERRORCODE &err) |
Create a constant Force effector 更多... | |
WIN_API std::shared_ptr< RS21::direct_input::ETSpring > | createWheelbaseETSpring (HWND id, ERRORCODE &err) |
Create a return force effector 更多... | |
WIN_API std::shared_ptr< RS21::direct_input::ETDamper > | createWheelbaseETDamper (HWND id, ERRORCODE &err) |
Create a dampener 更多... | |
WIN_API std::shared_ptr< RS21::direct_input::ETInertia > | createWheelbaseETInertia (HWND id, ERRORCODE &err) |
Create an inertia effector 更多... | |
WIN_API std::shared_ptr< RS21::direct_input::ETFriction > | createWheelbaseETFriction (HWND id, ERRORCODE &err) |
Create a friction effector 更多... | |
WIN_API const HIDData * | getHIDData (ERRORCODE &err) |
Gets all hid data during the cycle 更多... | |
WIN_API const char * | getDeviceParent (PRODUCTTYPE dev, ERRORCODE &err) |
Gets the enumerated value of the connected device 更多... | |
WIN_API const std::pair< int, int > * | getMotorLimitAngle (ERRORCODE &err) |
Get the motor limit Angle 更多... | |
WIN_API void | motorMoveTo (HWND id, float angle, float speed, ERRORCODE &err) |
Get the motor limit Angle 更多... | |
WIN_API void | motorStopMove () |
WIN_API int | getMotorRoadSensitivity (ERRORCODE &err) |
Get the road sensitivity of the motor 更多... | |
WIN_API int | getMotorFfbStrength (ERRORCODE &err) |
Get the game force feedback intensity of the motor 更多... | |
WIN_API int | getMotorLimitWheelSpeed (ERRORCODE &err) |
Get the maximum steering wheel speed of the motor 更多... | |
WIN_API int | getMotorSpringStrength (ERRORCODE &err) |
Get the mechanical return strength of the motor 更多... | |
WIN_API int | getMotorNaturalDamper (ERRORCODE &err) |
Get the mechanical damping of the motor 更多... | |
WIN_API int | getMotorNaturalFriction (ERRORCODE &err) |
Get the mechanical friction of the motor 更多... | |
WIN_API int | getMotorSpeedDamping (ERRORCODE &err) |
Get the velocity damping of the motor 更多... | |
WIN_API int | getMotorPeakTorque (ERRORCODE &err) |
Get the maximum output torque limit of the motor 更多... | |
WIN_API int | getMotorNaturalInertiaRatio (ERRORCODE &err) |
Get the actual steering wheel inertia ratio of the motor 更多... | |
WIN_API int | getMotorNaturalInertia (ERRORCODE &err) |
Get the natural inertia of the motor 更多... | |
WIN_API int | getMotorSpeedDampingStartPoint (ERRORCODE &err) |
Get the velocity damping starting point of the motor 更多... | |
WIN_API int | getMotorHandsOffProtection (ERRORCODE &err) |
Get the motor hand off the protective switch 更多... | |
WIN_API int | getMotorFfbReverse (ERRORCODE &err) |
Get the motor's game force reverse switch 更多... | |
WIN_API const std::map< std::string, int > * | getMotorEqualizerAmp (ERRORCODE &err) |
Get the frequency of the motor's road awareness equalizer 更多... | |
WIN_API ERRORCODE | setMotorLimitAngle (int limitAngle, int gameMaximumAngle) |
Set the motor limit Angle 更多... | |
WIN_API ERRORCODE | setMotorRoadSensitivity (int v) |
Set the road sensitivity of the motor 更多... | |
WIN_API ERRORCODE | setMotorFfbStrength (int v) |
Set the game force feedback intensity of the motor 更多... | |
WIN_API ERRORCODE | setMotorLimitWheelSpeed (int v) |
Set the maximum steering wheel speed of the motor 更多... | |
WIN_API ERRORCODE | setMotorSpringStrength (int v) |
Set the mechanical return strength of the motor 更多... | |
WIN_API ERRORCODE | setMotorNaturalDamper (int v) |
Set to get the mechanical damping of the motor 更多... | |
WIN_API ERRORCODE | setMotorNaturalFriction (int v) |
Set to get the mechanical friction of the motor 更多... | |
WIN_API ERRORCODE | setMotorSpeedDamping (int v) |
Set the speed damping of the motor 更多... | |
WIN_API ERRORCODE | setMotorPeakTorque (int v) |
Set the maximum output torque limit of the motor 更多... | |
WIN_API ERRORCODE | setMotorNaturalInertiaRatio (int v) |
Set the actual steering wheel inertia ratio of the motor 更多... | |
WIN_API ERRORCODE | setMotorNaturalInertia (int v) |
Set the natural inertia of the motor 更多... | |
WIN_API ERRORCODE | setMotorSpeedDampingStartPoint (int v) |
Set the velocity damping starting point of the motor 更多... | |
WIN_API ERRORCODE | setMotorHandsOffProtection (int v) |
Set motor hand off protection switch 更多... | |
WIN_API ERRORCODE | setMotorFfbReverse (int v) |
Set the game force reverse switch of the motor 更多... | |
WIN_API ERRORCODE | setMotorEqualizerAmp (const std::map< std::string, int > &v) |
Set the frequency of the motor's road awareness equalizer 更多... | |
WIN_API ERRORCODE | SoftReboot () |
Soft restart of motor 更多... | |
WIN_API ERRORCODE | CenterWheel () |
Steering wheel alignment 更多... | |
WIN_API int | getSteeringWheelShiftIndicatorBrightness (ERRORCODE &err) |
Get steering wheel indicator brightness 更多... | |
WIN_API int | getSteeringWheelClutchPaddleAxisMode (ERRORCODE &err) |
Get the steering wheel's clutch pattern 更多... | |
WIN_API int | getSteeringWheelClutchPaddleCombinePos (ERRORCODE &err) |
Get the clutch combination value of the steering wheel 更多... | |
WIN_API int | getSteeringWheelKnobMode (ERRORCODE &err) |
Get the steering wheel's band knob mode 更多... | |
WIN_API int | getSteeringWheelJoystickHatswitchMode (ERRORCODE &err) |
Get the joystick pattern for the steering wheel 更多... | |
WIN_API int | getSteeringWheelShiftIndicatorSwitch (ERRORCODE &err) |
Get the steering wheel's indicator switch mode 更多... | |
WIN_API int | getSteeringWheelShiftIndicatorMode (ERRORCODE &err) |
Get the steering wheel indicator display mode 更多... | |
WIN_API const std::vector< std::string > * | getSteeringWheelShiftIndicatorColor (ERRORCODE &err) |
Get the steering wheel indicator color 更多... | |
WIN_API const std::vector< int > * | getSteeringWheelShiftIndicatorLightRpm (ERRORCODE &err) |
Gets the steering wheel's indicator speed indication percentage 更多... | |
WIN_API int | getSteeringWheelSpeedUnit (ERRORCODE &err) |
Gets the speed unit of the display 更多... | |
WIN_API int | getSteeringWheelTemperatureUnit (ERRORCODE &err) |
Get the temperature unit of the display 更多... | |
WIN_API int | getSteeringWheelScreenBrightness (ERRORCODE &err) |
Gets the screen brightness of the display 更多... | |
WIN_API const std::map< int, std::string > * | getSteeringWheelScreenUIList (ERRORCODE &err) |
Get UI list 更多... | |
WIN_API int | getSteeringWheelScreenCurrentUI (ERRORCODE &err) |
Get the current UI 更多... | |
WIN_API ERRORCODE | setSteeringWheelShiftIndicatorBrightness (int v) |
Set steering wheel indicator brightness 更多... | |
WIN_API ERRORCODE | setSteeringWheelClutchPaddleAxisMode (int v) |
Set the steering wheel's clutch pattern 更多... | |
WIN_API ERRORCODE | setSteeringWheelClutchPaddleCombinePos (int v) |
Set the clutch combination value of the steering wheel 更多... | |
WIN_API ERRORCODE | setSteeringWheelKnobMode (int v) |
Set the steering wheel's band knob mode 更多... | |
WIN_API ERRORCODE | setSteeringWheelJoystickHatswitchMode (int v) |
Set the rocker mode for the steering wheel 更多... | |
WIN_API ERRORCODE | setSteeringWheelShiftIndicatorSwitch (int v) |
Set the steering wheel indicator switch mode 更多... | |
WIN_API ERRORCODE | setSteeringWheelShiftIndicatorMode (int v) |
Set the steering wheel indicator display mode 更多... | |
WIN_API ERRORCODE | setSteeringWheelShiftIndicatorColor (const std::vector< std::string > &v) |
Set the steering wheel indicator color 更多... | |
WIN_API ERRORCODE | setSteeringWheelShiftIndicatorLightRpm (const std::vector< int > &v) |
Set the steering wheel's indicator speed indication percentage 更多... | |
WIN_API ERRORCODE | setSteeringWheelSpeedUnit (int v) |
Set the speed unit of the display 更多... | |
WIN_API ERRORCODE | setSteeringWheelTemperatureUnit (int v) |
Set the temperature unit of the display 更多... | |
WIN_API ERRORCODE | setSteeringWheelScreenBrightness (int v) |
Set the screen brightness of the display 更多... | |
WIN_API ERRORCODE | setSteeringWheelScreenCurrentUI (int v) |
Set current UI 更多... | |
WIN_API int | getDisplayScreenSpeedUnit (ERRORCODE &err) |
Get the speed unit of the display 更多... | |
WIN_API int | getDisplayScreenTemperatureUnit (ERRORCODE &err) |
Get the temperature unit of the display 更多... | |
WIN_API int | getDisplayScreenScreenBrightness (ERRORCODE &err) |
Get the screen brightness of the display 更多... | |
WIN_API const std::map< int, std::string > * | getDisplayScreenScreenUIList (ERRORCODE &err) |
Get the display UI list 更多... | |
WIN_API int | getDisplayScreenScreenCurrentUI (ERRORCODE &err) |
Get the current UI of the display 更多... | |
WIN_API ERRORCODE | setDisplayScreenSpeedUnit (int v) |
Set the speed unit of the display 更多... | |
WIN_API ERRORCODE | setDisplayScreenTemperatureUnit (int v) |
Set the temperature unit of the display 更多... | |
WIN_API ERRORCODE | setDisplayScreenScreenBrightness (int v) |
Set the screen brightness of the display 更多... | |
WIN_API ERRORCODE | setDisplayScreenScreenCurrentUI (int v) |
Set the current UI of the display 更多... | |
WIN_API int | getPedalClutchOutDir (ERRORCODE &err) |
Get the clutch output direction of the pedal 更多... | |
WIN_API int | getPedalBrakeOutDir (ERRORCODE &err) |
Get the brake output direction of the pedal 更多... | |
WIN_API int | getPedalAccOutDir (ERRORCODE &err) |
Get the throttle output direction of the pedal 更多... | |
WIN_API int | getPedalBrakePressCombine (ERRORCODE &err) |
Get the percentage of pressure binding points of the pedal 更多... | |
WIN_API const std::vector< int > * | getPedalClutchNonLinear (ERRORCODE &err) |
Get the pedal clutch output nonlinear adjustment 更多... | |
WIN_API const std::vector< int > * | getPedalAccNonLinear (ERRORCODE &err) |
Get the pedal throttle output nonlinear adjustment 更多... | |
WIN_API const std::vector< int > * | getPedalBrakeNonLinear (ERRORCODE &err) |
Get the pedal brake output nonlinear adjustment 更多... | |
WIN_API ERRORCODE | ClutchCalibrateStrat () |
Pedal clutch calibration begins 更多... | |
WIN_API ERRORCODE | ClutchCalibrateFinish () |
Pedal clutch calibration is complete 更多... | |
WIN_API ERRORCODE | AccCalibrateStrat () |
Pedal throttle calibration begins 更多... | |
WIN_API ERRORCODE | AccCalibrateFinish () |
Pedal throttle calibration is complete 更多... | |
WIN_API ERRORCODE | BrakeCalibrateStrat () |
Pedal brake calibration begins 更多... | |
WIN_API ERRORCODE | BrakeCalibrateFinish () |
Pedal brake calibration complete 更多... | |
WIN_API ERRORCODE | setPedalClutchOutDir (int v) |
Set the clutch output direction of the pedal 更多... | |
WIN_API ERRORCODE | setPedalBrakeOutDir (int v) |
Set the brake output direction of the pedal 更多... | |
WIN_API ERRORCODE | setPedalAccOutDir (int v) |
Set the throttle output direction of the pedal 更多... | |
WIN_API ERRORCODE | setPedalBrakePressCombine (int v) |
Set the percentage of pressure binding points for the pedal 更多... | |
WIN_API ERRORCODE | setPedalClutchNonLinear (const std::vector< int > &v) |
Set pedal clutch output nonlinear adjustment 更多... | |
WIN_API ERRORCODE | setPedalAccNonLinear (const std::vector< int > &v) |
Set pedal throttle output nonlinear adjustment 更多... | |
WIN_API ERRORCODE | setPedalBrakeNonLinear (const std::vector< int > &v) |
Set pedal brake output nonlinear adjustment 更多... | |
WIN_API int | getHandbrakeOutDir (ERRORCODE &err) |
Get the output direction of the handbrake 更多... | |
WIN_API int | getHandbrakeApplicationMode (ERRORCODE &err) |
Get the application mode of the handbrake 更多... | |
WIN_API const std::vector< int > * | getHandbrakeNonLinear (ERRORCODE &err) |
Get the nonlinear adjustment of handbrake output 更多... | |
WIN_API ERRORCODE | HandbrakeCalibrateStart () |
Handbrake calibration Start 更多... | |
WIN_API ERRORCODE | HandbrakeCalibrateFinish () |
Handbrake calibration complete 更多... | |
WIN_API ERRORCODE | setHandbrakeOutDir (int v) |
Set the output direction of the handbrake 更多... | |
WIN_API ERRORCODE | setHandbrakeApplicationMode (int v) |
Set the application mode of the handbrake 更多... | |
WIN_API ERRORCODE | setHandbrakeNonLinear (const std::vector< int > &v) |
Set the handbrake output nonlinear adjustment 更多... | |
WIN_API int | getHandingShifterAutoBlipOutput (ERRORCODE &err) |
Get the downshift refill output percentage of the shifter 更多... | |
WIN_API int | getHandingShifterAutoBlipDuration (ERRORCODE &err) |
Get the downshift refill duration of the shifter 更多... | |
WIN_API int | getHandingShifterAutoBlipSwitch (ERRORCODE &err) |
Get the downshift refill switch of the gear shifter 更多... | |
WIN_API ERRORCODE | ShifterCalibrateStart () |
Gear shifter start calibration 更多... | |
WIN_API ERRORCODE | ShifterCalibrateFinish () |
Shift end calibration 更多... | |
WIN_API ERRORCODE | setHandingShifterAutoBlipOutput (int v) |
Get the downshift refill output percentage of the shifter 更多... | |
WIN_API ERRORCODE | setHandingShifterAutoBlipDuration (int v) |
Get the downshift refill duration of the shifter 更多... | |
WIN_API ERRORCODE | setHandingShifterAutoBlipSwitch (int v) |
Get the downshift refill switch of the gear shifter 更多... | |
ERRORCODE moza::AccCalibrateFinish | ( | ) |
Pedal throttle calibration is complete
ERRORCODE moza::AccCalibrateStrat | ( | ) |
Pedal throttle calibration begins
ERRORCODE moza::BrakeCalibrateFinish | ( | ) |
Pedal brake calibration complete
ERRORCODE moza::BrakeCalibrateStrat | ( | ) |
Pedal brake calibration begins
ERRORCODE moza::CenterWheel | ( | ) |
Steering wheel alignment
ERRORCODE moza::ClutchCalibrateFinish | ( | ) |
Pedal clutch calibration is complete
ERRORCODE moza::ClutchCalibrateStrat | ( | ) |
Pedal clutch calibration begins
std::shared_ptr< RS21::direct_input::ETConstantForce > moza::createWheelbaseETConstantForce | ( | HWND | id, |
ERRORCODE & | err | ||
) |
Create a constant Force effector
id | Window id |
err | Error code |
std::shared_ptr< RS21::direct_input::ETDamper > moza::createWheelbaseETDamper | ( | HWND | id, |
ERRORCODE & | err | ||
) |
Create a dampener
id | Window id |
err | Error code |
std::shared_ptr< RS21::direct_input::ETFriction > moza::createWheelbaseETFriction | ( | HWND | id, |
ERRORCODE & | err | ||
) |
Create a friction effector
id | Window id |
err | Error code |
std::shared_ptr< RS21::direct_input::ETInertia > moza::createWheelbaseETInertia | ( | HWND | id, |
ERRORCODE & | err | ||
) |
Create an inertia effector
id | Window id |
err | Error code |
std::shared_ptr< RS21::direct_input::ETSine > moza::createWheelbaseETSine | ( | HWND | id, |
ERRORCODE & | err | ||
) |
Create a sinusoidal force effector
id | Window id |
err | Error code |
std::shared_ptr< RS21::direct_input::ETSpring > moza::createWheelbaseETSpring | ( | HWND | id, |
ERRORCODE & | err | ||
) |
Create a return force effector
id | Window id |
err | Error code |
const char * moza::getDeviceParent | ( | PRODUCTTYPE | dev, |
ERRORCODE & | err | ||
) |
Gets the enumerated value of the connected device
dev | Device enum |
err | Error code |
int moza::getDisplayScreenScreenBrightness | ( | ERRORCODE & | err | ) |
Get the screen brightness of the display
err | Error code |
int moza::getDisplayScreenScreenCurrentUI | ( | ERRORCODE & | err | ) |
Get the current UI of the display
err | Error code |
const std::map< int, std::string > * moza::getDisplayScreenScreenUIList | ( | ERRORCODE & | err | ) |
Get the display UI list
err | Error code |
int moza::getDisplayScreenSpeedUnit | ( | ERRORCODE & | err | ) |
Get the speed unit of the display
err | Error code |
int moza::getDisplayScreenTemperatureUnit | ( | ERRORCODE & | err | ) |
Get the temperature unit of the display
err | Error code |
int moza::getHandbrakeApplicationMode | ( | ERRORCODE & | err | ) |
Get the application mode of the handbrake
err | Error code |
const std::vector< int > * moza::getHandbrakeNonLinear | ( | ERRORCODE & | err | ) |
Get the nonlinear adjustment of handbrake output
err | Error code |
int moza::getHandbrakeOutDir | ( | ERRORCODE & | err | ) |
Get the output direction of the handbrake
err | Error code |
int moza::getHandingShifterAutoBlipDuration | ( | ERRORCODE & | err | ) |
Get the downshift refill duration of the shifter
err | Error code |
int moza::getHandingShifterAutoBlipOutput | ( | ERRORCODE & | err | ) |
Get the downshift refill output percentage of the shifter
err | Error code |
int moza::getHandingShifterAutoBlipSwitch | ( | ERRORCODE & | err | ) |
Get the downshift refill switch of the gear shifter
err | Error code |
const HIDData * moza::getHIDData | ( | ERRORCODE & | err | ) |
Gets all hid data during the cycle
err | Error code |
const std::map< std::string, int > * moza::getMotorEqualizerAmp | ( | ERRORCODE & | err | ) |
Get the frequency of the motor's road awareness equalizer
err | Error code |
int moza::getMotorFfbReverse | ( | ERRORCODE & | err | ) |
Get the motor's game force reverse switch
err | Error code |
int moza::getMotorFfbStrength | ( | ERRORCODE & | err | ) |
Get the game force feedback intensity of the motor
err | Error code |
int moza::getMotorHandsOffProtection | ( | ERRORCODE & | err | ) |
Get the motor hand off the protective switch
err | Error code |
const std::pair< int, int > * moza::getMotorLimitAngle | ( | ERRORCODE & | err | ) |
Get the motor limit Angle
err | Error code |
int moza::getMotorLimitWheelSpeed | ( | ERRORCODE & | err | ) |
Get the maximum steering wheel speed of the motor
err | Error code |
int moza::getMotorNaturalDamper | ( | ERRORCODE & | err | ) |
Get the mechanical damping of the motor
err | Error code |
int moza::getMotorNaturalFriction | ( | ERRORCODE & | err | ) |
Get the mechanical friction of the motor
err | Error code |
int moza::getMotorNaturalInertia | ( | ERRORCODE & | err | ) |
Get the natural inertia of the motor
err | Error code |
int moza::getMotorNaturalInertiaRatio | ( | ERRORCODE & | err | ) |
Get the actual steering wheel inertia ratio of the motor
err | Error code |
int moza::getMotorPeakTorque | ( | ERRORCODE & | err | ) |
Get the maximum output torque limit of the motor
err | Error code |
int moza::getMotorRoadSensitivity | ( | ERRORCODE & | err | ) |
Get the road sensitivity of the motor
err | Error code |
int moza::getMotorSpeedDamping | ( | ERRORCODE & | err | ) |
Get the velocity damping of the motor
err | Error code |
int moza::getMotorSpeedDampingStartPoint | ( | ERRORCODE & | err | ) |
Get the velocity damping starting point of the motor
err | Error code |
int moza::getMotorSpringStrength | ( | ERRORCODE & | err | ) |
Get the mechanical return strength of the motor
err | Error code |
const std::vector< int > * moza::getPedalAccNonLinear | ( | ERRORCODE & | err | ) |
Get the pedal throttle output nonlinear adjustment
err | Error code |
int moza::getPedalAccOutDir | ( | ERRORCODE & | err | ) |
Get the throttle output direction of the pedal
err | Error code |
const std::vector< int > * moza::getPedalBrakeNonLinear | ( | ERRORCODE & | err | ) |
Get the pedal brake output nonlinear adjustment
err | Error code |
int moza::getPedalBrakeOutDir | ( | ERRORCODE & | err | ) |
Get the brake output direction of the pedal
err | Error code |
int moza::getPedalBrakePressCombine | ( | ERRORCODE & | err | ) |
Get the percentage of pressure binding points of the pedal
err | Error code |
const std::vector< int > * moza::getPedalClutchNonLinear | ( | ERRORCODE & | err | ) |
Get the pedal clutch output nonlinear adjustment
err | Error code |
int moza::getPedalClutchOutDir | ( | ERRORCODE & | err | ) |
Get the clutch output direction of the pedal
err | Error code |
int moza::getSteeringWheelClutchPaddleAxisMode | ( | ERRORCODE & | err | ) |
Get the steering wheel's clutch pattern
err | Error code |
int moza::getSteeringWheelClutchPaddleCombinePos | ( | ERRORCODE & | err | ) |
Get the clutch combination value of the steering wheel
err | Error code |
int moza::getSteeringWheelJoystickHatswitchMode | ( | ERRORCODE & | err | ) |
Get the joystick pattern for the steering wheel
err | Error code |
int moza::getSteeringWheelKnobMode | ( | ERRORCODE & | err | ) |
Get the steering wheel's band knob mode
err | Error code |
int moza::getSteeringWheelScreenBrightness | ( | ERRORCODE & | err | ) |
Gets the screen brightness of the display
err | Error code |
int moza::getSteeringWheelScreenCurrentUI | ( | ERRORCODE & | err | ) |
Get the current UI
err | Error code |
const std::map< int, std::string > * moza::getSteeringWheelScreenUIList | ( | ERRORCODE & | err | ) |
Get UI list
err | Error code |
int moza::getSteeringWheelShiftIndicatorBrightness | ( | ERRORCODE & | err | ) |
Get steering wheel indicator brightness
err | Error code |
const std::vector< std::string > * moza::getSteeringWheelShiftIndicatorColor | ( | ERRORCODE & | err | ) |
Get the steering wheel indicator color
err | Error code |
const std::vector< int > * moza::getSteeringWheelShiftIndicatorLightRpm | ( | ERRORCODE & | err | ) |
Gets the steering wheel's indicator speed indication percentage
err | Error code |
int moza::getSteeringWheelShiftIndicatorMode | ( | ERRORCODE & | err | ) |
Get the steering wheel indicator display mode
err | Error code |
int moza::getSteeringWheelShiftIndicatorSwitch | ( | ERRORCODE & | err | ) |
Get the steering wheel's indicator switch mode
err | Error code |
int moza::getSteeringWheelSpeedUnit | ( | ERRORCODE & | err | ) |
Gets the speed unit of the display
err | Error code |
int moza::getSteeringWheelTemperatureUnit | ( | ERRORCODE & | err | ) |
Get the temperature unit of the display
err | Error code |
ERRORCODE moza::HandbrakeCalibrateFinish | ( | ) |
Handbrake calibration complete
ERRORCODE moza::HandbrakeCalibrateStart | ( | ) |
Handbrake calibration Start
void moza::installMozaSDK | ( | ) |
load sdk
void moza::motorMoveTo | ( | HWND | id, |
float | angle, | ||
float | speed, | ||
ERRORCODE & | err | ||
) |
Get the motor limit Angle
id | Window id |
angle | target angle,unit deg(degree) |
speed | target speed,unit rpm(Revolutions Per Minute) |
err | Error code |
void moza::motorStopMove | ( | ) |
void moza::removeMozaSDK | ( | ) |
remove sdk
ERRORCODE moza::setDisplayScreenScreenBrightness | ( | int | v | ) |
Set the screen brightness of the display
v | Display screen brightness, effective range 0-100 |
ERRORCODE moza::setDisplayScreenScreenCurrentUI | ( | int | v | ) |
Set the current UI of the display
v | UI id |
ERRORCODE moza::setDisplayScreenSpeedUnit | ( | int | v | ) |
Set the speed unit of the display
v | The speed unit of the display, effective range 0-1, 0-metric 1-imperial |
ERRORCODE moza::setDisplayScreenTemperatureUnit | ( | int | v | ) |
Set the temperature unit of the display
v | Temperature unit of the display, effective range 0-1, 0-degrees Celsius, 1-degrees Fahrenheit |
ERRORCODE moza::setHandbrakeApplicationMode | ( | int | v | ) |
Set the application mode of the handbrake
v | Handbrake application mode, effective range 0-1 |
ERRORCODE moza::setHandbrakeNonLinear | ( | const std::vector< int > & | v | ) |
Set the handbrake output nonlinear adjustment
v | Handbrake output nonlinear adjustment |
ERRORCODE moza::setHandbrakeOutDir | ( | int | v | ) |
Set the output direction of the handbrake
v | Hand brake output direction, effective range 0-1 |
ERRORCODE moza::setHandingShifterAutoBlipDuration | ( | int | v | ) |
Get the downshift refill duration of the shifter
v | Downshift replenishment duration of gear shifter, effective range 0-1000 |
ERRORCODE moza::setHandingShifterAutoBlipOutput | ( | int | v | ) |
Get the downshift refill output percentage of the shifter
v | Downshift oil output percentage of the stopper, effective range 0-100 |
ERRORCODE moza::setHandingShifterAutoBlipSwitch | ( | int | v | ) |
Get the downshift refill switch of the gear shifter
v | Downshift oil refill switch of gear shifter, effective range 0-1 |
ERRORCODE moza::setMotorEqualizerAmp | ( | const std::map< std::string, int > & | v | ) |
Set the frequency of the motor's road awareness equalizer
v | Frequency of the motor's road sense equalizer,EqualizerAmp7_5;EqualizerAmp13,EqualizerAmp22_5,EqualizerAmp39,EqualizerAmp55,[0,500],EqualizerAmp100[0,100] |
ERRORCODE moza::setMotorFfbReverse | ( | int | v | ) |
Set the game force reverse switch of the motor
v | Motor game force reverse switch, effective range 0-1 |
ERRORCODE moza::setMotorFfbStrength | ( | int | v | ) |
Set the game force feedback intensity of the motor
v | The game force feedback intensity of the motor, effective range 0-100 |
ERRORCODE moza::setMotorHandsOffProtection | ( | int | v | ) |
Set motor hand off protection switch
v | Motor hand off protection switch, effective range 0-1 |
ERRORCODE moza::setMotorLimitAngle | ( | int | limitAngle, |
int | gameMaximumAngle | ||
) |
Set the motor limit Angle
limitAngle | Motor limitAngle, effective range 90-2000 |
gameMaximumAngle | game limitAngle, effective range 90-limitAngle |
ERRORCODE moza::setMotorLimitWheelSpeed | ( | int | v | ) |
Set the maximum steering wheel speed of the motor
v | Motor steering wheel maximum speed, effective range 10-100 |
ERRORCODE moza::setMotorNaturalDamper | ( | int | v | ) |
Set to get the mechanical damping of the motor
v | Mechanical damping of motor, effective range 0-100 |
ERRORCODE moza::setMotorNaturalFriction | ( | int | v | ) |
Set to get the mechanical friction of the motor
v | Mechanical friction of motor, effective range 0-100 |
ERRORCODE moza::setMotorNaturalInertia | ( | int | v | ) |
Set the natural inertia of the motor
v | Natural inertia of the motor, effective range 100-500 |
ERRORCODE moza::setMotorNaturalInertiaRatio | ( | int | v | ) |
Set the actual steering wheel inertia ratio of the motor
v | The actual inertia ratio of the steering wheel of the motor, effective range 100-4000 |
ERRORCODE moza::setMotorPeakTorque | ( | int | v | ) |
Set the maximum output torque limit of the motor
v | Motor maximum output torque limit, effective range 50-100 |
ERRORCODE moza::setMotorRoadSensitivity | ( | int | v | ) |
Set the road sensitivity of the motor
v | Motor road sensitivity, effective range 0-10 |
ERRORCODE moza::setMotorSpeedDamping | ( | int | v | ) |
Set the speed damping of the motor
v | Motor damping with speed, effective range 0-100 |
ERRORCODE moza::setMotorSpeedDampingStartPoint | ( | int | v | ) |
Set the velocity damping starting point of the motor
v | Velocity damping starting point of the motor, effective range 0-400 |
ERRORCODE moza::setMotorSpringStrength | ( | int | v | ) |
Set the mechanical return strength of the motor
v | Mechanical return strength of the motor, effective range 0-100 |
ERRORCODE moza::setPedalAccNonLinear | ( | const std::vector< int > & | v | ) |
Set pedal throttle output nonlinear adjustment
v | Pedal throttle output nonlinear adjustment, effective range 0-100 |
ERRORCODE moza::setPedalAccOutDir | ( | int | v | ) |
Set the throttle output direction of the pedal
v | Pedal throttle output direction, effective range 0-1, 0-forward 1-reverse |
ERRORCODE moza::setPedalBrakeNonLinear | ( | const std::vector< int > & | v | ) |
Set pedal brake output nonlinear adjustment
v | Pedal brake output nonlinear adjustment |
ERRORCODE moza::setPedalBrakeOutDir | ( | int | v | ) |
Set the brake output direction of the pedal
v | Pedal brake output direction, effective range 0-1, 0-forward 1-reverse |
ERRORCODE moza::setPedalBrakePressCombine | ( | int | v | ) |
Set the percentage of pressure binding points for the pedal
v | Pedal pressure binding percentage, effective range 0-100 |
ERRORCODE moza::setPedalClutchNonLinear | ( | const std::vector< int > & | v | ) |
Set pedal clutch output nonlinear adjustment
v | Pedal clutch output nonlinear adjustment, effective range 0-100 |
ERRORCODE moza::setPedalClutchOutDir | ( | int | v | ) |
Set the clutch output direction of the pedal
v | Pedal clutch output direction, effective range 0-1, 0-forward 1-reverse |
ERRORCODE moza::setSteeringWheelClutchPaddleAxisMode | ( | int | v | ) |
Set the steering wheel's clutch pattern
v | Steering wheel clutch mode, effective range 1-3 |
ERRORCODE moza::setSteeringWheelClutchPaddleCombinePos | ( | int | v | ) |
Set the clutch combination value of the steering wheel
v | Steering wheel clutch combination value, effective range 0-100 |
ERRORCODE moza::setSteeringWheelJoystickHatswitchMode | ( | int | v | ) |
Set the rocker mode for the steering wheel
v | Rocker mode for steering wheel, effective range 0-1 |
ERRORCODE moza::setSteeringWheelKnobMode | ( | int | v | ) |
Set the steering wheel's band knob mode
v | Steering wheel's band knob mode, effective range 0-1 |
ERRORCODE moza::setSteeringWheelScreenBrightness | ( | int | v | ) |
Set the screen brightness of the display
v | Display screen brightness, effective range 0-100 |
ERRORCODE moza::setSteeringWheelScreenCurrentUI | ( | int | v | ) |
Set current UI
v | current UI |
ERRORCODE moza::setSteeringWheelShiftIndicatorBrightness | ( | int | v | ) |
Set steering wheel indicator brightness
v | Steering wheel indicator brightness, effective range 0-100 |
ERRORCODE moza::setSteeringWheelShiftIndicatorColor | ( | const std::vector< std::string > & | v | ) |
Set the steering wheel indicator color
v | Indicator color |
ERRORCODE moza::setSteeringWheelShiftIndicatorLightRpm | ( | const std::vector< int > & | v | ) |
Set the steering wheel's indicator speed indication percentage
v | Steering wheel indicator speed indication percentage, effective range 0-100 |
ERRORCODE moza::setSteeringWheelShiftIndicatorMode | ( | int | v | ) |
Set the steering wheel indicator display mode
v | Steering wheel indicator display mode, effective range 0-1 |
ERRORCODE moza::setSteeringWheelShiftIndicatorSwitch | ( | int | v | ) |
Set the steering wheel indicator switch mode
v | Steering wheel indicator switch mode, effective range 1-3 |
ERRORCODE moza::setSteeringWheelSpeedUnit | ( | int | v | ) |
Set the speed unit of the display
v | The speed unit of the display, effective range 0-1 |
ERRORCODE moza::setSteeringWheelTemperatureUnit | ( | int | v | ) |
Set the temperature unit of the display
v | Temperature unit of the display, effective range 0-1 |
ERRORCODE moza::ShifterCalibrateFinish | ( | ) |
Shift end calibration
ERRORCODE moza::ShifterCalibrateStart | ( | ) |
Gear shifter start calibration
ERRORCODE moza::SoftReboot | ( | ) |
Soft restart of motor