mozaSdk
函数
moza 命名空间参考

函数

WIN_API void installMozaSDK ()
 load sdk 更多...
 
WIN_API void removeMozaSDK ()
 remove sdk 更多...
 
WIN_API std::shared_ptr< RS21::direct_input::ETSinecreateWheelbaseETSine (HWND id, ERRORCODE &err)
 Create a sinusoidal force effector 更多...
 
WIN_API std::shared_ptr< RS21::direct_input::ETConstantForcecreateWheelbaseETConstantForce (HWND id, ERRORCODE &err)
 Create a constant Force effector 更多...
 
WIN_API std::shared_ptr< RS21::direct_input::ETSpringcreateWheelbaseETSpring (HWND id, ERRORCODE &err)
 Create a return force effector 更多...
 
WIN_API std::shared_ptr< RS21::direct_input::ETDampercreateWheelbaseETDamper (HWND id, ERRORCODE &err)
 Create a dampener 更多...
 
WIN_API std::shared_ptr< RS21::direct_input::ETInertiacreateWheelbaseETInertia (HWND id, ERRORCODE &err)
 Create an inertia effector 更多...
 
WIN_API std::shared_ptr< RS21::direct_input::ETFrictioncreateWheelbaseETFriction (HWND id, ERRORCODE &err)
 Create a friction effector 更多...
 
WIN_API const HIDDatagetHIDData (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 更多...
 

函数说明

◆ AccCalibrateFinish()

ERRORCODE moza::AccCalibrateFinish ( )

Pedal throttle calibration is complete

返回
Error code

◆ AccCalibrateStrat()

ERRORCODE moza::AccCalibrateStrat ( )

Pedal throttle calibration begins

返回
Error code

◆ BrakeCalibrateFinish()

ERRORCODE moza::BrakeCalibrateFinish ( )

Pedal brake calibration complete

返回
Error code

◆ BrakeCalibrateStrat()

ERRORCODE moza::BrakeCalibrateStrat ( )

Pedal brake calibration begins

返回
Error code

◆ CenterWheel()

ERRORCODE moza::CenterWheel ( )

Steering wheel alignment

返回
Error code

◆ ClutchCalibrateFinish()

ERRORCODE moza::ClutchCalibrateFinish ( )

Pedal clutch calibration is complete

返回
Error code

◆ ClutchCalibrateStrat()

ERRORCODE moza::ClutchCalibrateStrat ( )

Pedal clutch calibration begins

返回
Error code

◆ createWheelbaseETConstantForce()

std::shared_ptr< RS21::direct_input::ETConstantForce > moza::createWheelbaseETConstantForce ( HWND  id,
ERRORCODE &  err 
)

Create a constant Force effector

参数
idWindow id
errError code
返回
Constant force effector

◆ createWheelbaseETDamper()

std::shared_ptr< RS21::direct_input::ETDamper > moza::createWheelbaseETDamper ( HWND  id,
ERRORCODE &  err 
)

Create a dampener

参数
idWindow id
errError code
返回
dampener

◆ createWheelbaseETFriction()

std::shared_ptr< RS21::direct_input::ETFriction > moza::createWheelbaseETFriction ( HWND  id,
ERRORCODE &  err 
)

Create a friction effector

参数
idWindow id
errError code
返回
friction effector

◆ createWheelbaseETInertia()

std::shared_ptr< RS21::direct_input::ETInertia > moza::createWheelbaseETInertia ( HWND  id,
ERRORCODE &  err 
)

Create an inertia effector

参数
idWindow id
errError code
返回
Inertia effector

◆ createWheelbaseETSine()

std::shared_ptr< RS21::direct_input::ETSine > moza::createWheelbaseETSine ( HWND  id,
ERRORCODE &  err 
)

Create a sinusoidal force effector

参数
idWindow id
errError code
返回
Sinusoidal force effector

◆ createWheelbaseETSpring()

std::shared_ptr< RS21::direct_input::ETSpring > moza::createWheelbaseETSpring ( HWND  id,
ERRORCODE &  err 
)

Create a return force effector

参数
idWindow id
errError code
返回
Return force effector

◆ getDeviceParent()

const char * moza::getDeviceParent ( PRODUCTTYPE  dev,
ERRORCODE &  err 
)

Gets the enumerated value of the connected device

参数
devDevice enum
errError code
返回
Device name

◆ getDisplayScreenScreenBrightness()

int moza::getDisplayScreenScreenBrightness ( ERRORCODE &  err)

Get the screen brightness of the display

参数
errError code
返回
Display screen brightness, effective range 0-100

◆ getDisplayScreenScreenCurrentUI()

int moza::getDisplayScreenScreenCurrentUI ( ERRORCODE &  err)

Get the current UI of the display

参数
errError code
返回
current UI

◆ getDisplayScreenScreenUIList()

const std::map< int, std::string > * moza::getDisplayScreenScreenUIList ( ERRORCODE &  err)

Get the display UI list

参数
errError code
返回
UI list

◆ getDisplayScreenSpeedUnit()

int moza::getDisplayScreenSpeedUnit ( ERRORCODE &  err)

Get the speed unit of the display

参数
errError code
返回
The speed unit of the display, effective range 0-1, 0-metric 1-imperial

◆ getDisplayScreenTemperatureUnit()

int moza::getDisplayScreenTemperatureUnit ( ERRORCODE &  err)

Get the temperature unit of the display

参数
errError code
返回
Temperature unit of the display, effective range 0-1, 0-degrees Celsius, 1-degrees Fahrenheit

◆ getHandbrakeApplicationMode()

int moza::getHandbrakeApplicationMode ( ERRORCODE &  err)

Get the application mode of the handbrake

参数
errError code
返回
Handbrake application mode, effective range 0-1

◆ getHandbrakeNonLinear()

const std::vector< int > * moza::getHandbrakeNonLinear ( ERRORCODE &  err)

Get the nonlinear adjustment of handbrake output

参数
errError code
返回
Handbrake output nonlinear adjustment

◆ getHandbrakeOutDir()

int moza::getHandbrakeOutDir ( ERRORCODE &  err)

Get the output direction of the handbrake

参数
errError code
返回
Hand brake output direction, effective range 0-1

◆ getHandingShifterAutoBlipDuration()

int moza::getHandingShifterAutoBlipDuration ( ERRORCODE &  err)

Get the downshift refill duration of the shifter

参数
errError code
返回
Downshift replenishment duration of gear shifter, effective range 0-1000

◆ getHandingShifterAutoBlipOutput()

int moza::getHandingShifterAutoBlipOutput ( ERRORCODE &  err)

Get the downshift refill output percentage of the shifter

参数
errError code
返回
Downshift oil output percentage of the stopper, effective range 0-100

◆ getHandingShifterAutoBlipSwitch()

int moza::getHandingShifterAutoBlipSwitch ( ERRORCODE &  err)

Get the downshift refill switch of the gear shifter

参数
errError code
返回
Downshift oil refill switch of gear shifter, effective range 0-1

◆ getHIDData()

const HIDData * moza::getHIDData ( ERRORCODE &  err)

Gets all hid data during the cycle

参数
errError code
返回
hid data

◆ getMotorEqualizerAmp()

const std::map< std::string, int > * moza::getMotorEqualizerAmp ( ERRORCODE &  err)

Get the frequency of the motor's road awareness equalizer

参数
errError code
返回
Frequency of road sensing equalizer of motor,EqualizerAmp7_5; EqualizerAmp13 EqualizerAmp22_5, EqualizerAmp39 EqualizerAmp55, [0,500], EqualizerAmp100 [0100]

◆ getMotorFfbReverse()

int moza::getMotorFfbReverse ( ERRORCODE &  err)

Get the motor's game force reverse switch

参数
errError code
返回
Motor game force reverse switch, effective range 0-1

◆ getMotorFfbStrength()

int moza::getMotorFfbStrength ( ERRORCODE &  err)

Get the game force feedback intensity of the motor

参数
errError code
返回
The game force feedback intensity of the motor, effective range 0-100

◆ getMotorHandsOffProtection()

int moza::getMotorHandsOffProtection ( ERRORCODE &  err)

Get the motor hand off the protective switch

参数
errError code
返回
Motor hand off protection switch, effective range 0-1

◆ getMotorLimitAngle()

const std::pair< int, int > * moza::getMotorLimitAngle ( ERRORCODE &  err)

Get the motor limit Angle

参数
errError code
返回
Motor limit Angle, effective range 90-2700

◆ getMotorLimitWheelSpeed()

int moza::getMotorLimitWheelSpeed ( ERRORCODE &  err)

Get the maximum steering wheel speed of the motor

参数
errError code
返回
Motor steering wheel maximum speed, effective range 10-100

◆ getMotorNaturalDamper()

int moza::getMotorNaturalDamper ( ERRORCODE &  err)

Get the mechanical damping of the motor

参数
errError code
返回
Mechanical damping of motor, effective range 0-100

◆ getMotorNaturalFriction()

int moza::getMotorNaturalFriction ( ERRORCODE &  err)

Get the mechanical friction of the motor

参数
errError code
返回
Mechanical friction of motor, effective range 0-100

◆ getMotorNaturalInertia()

int moza::getMotorNaturalInertia ( ERRORCODE &  err)

Get the natural inertia of the motor

参数
errError code
返回
Natural inertia of the motor, effective range 100-500

◆ getMotorNaturalInertiaRatio()

int moza::getMotorNaturalInertiaRatio ( ERRORCODE &  err)

Get the actual steering wheel inertia ratio of the motor

参数
errError code
返回
The actual inertia ratio of the steering wheel of the motor, effective range 100-4000

◆ getMotorPeakTorque()

int moza::getMotorPeakTorque ( ERRORCODE &  err)

Get the maximum output torque limit of the motor

参数
errError code
返回
Motor maximum output torque limit, effective range 50-100

◆ getMotorRoadSensitivity()

int moza::getMotorRoadSensitivity ( ERRORCODE &  err)

Get the road sensitivity of the motor

参数
errError code
返回
Motor road sensitivity, effective range 0-10

◆ getMotorSpeedDamping()

int moza::getMotorSpeedDamping ( ERRORCODE &  err)

Get the velocity damping of the motor

参数
errError code
返回
Motor damping with speed, effective range 0-100

◆ getMotorSpeedDampingStartPoint()

int moza::getMotorSpeedDampingStartPoint ( ERRORCODE &  err)

Get the velocity damping starting point of the motor

参数
errError code
返回
Velocity damping starting point of the motor, effective range 0-400

◆ getMotorSpringStrength()

int moza::getMotorSpringStrength ( ERRORCODE &  err)

Get the mechanical return strength of the motor

参数
errError code
返回
Mechanical return strength of the motor, effective range 0-100

◆ getPedalAccNonLinear()

const std::vector< int > * moza::getPedalAccNonLinear ( ERRORCODE &  err)

Get the pedal throttle output nonlinear adjustment

参数
errError code
返回
Pedal throttle output nonlinear adjustment

◆ getPedalAccOutDir()

int moza::getPedalAccOutDir ( ERRORCODE &  err)

Get the throttle output direction of the pedal

参数
errError code
返回
Pedal throttle output direction, effective range 0-1, 0-forward 1-reverse

◆ getPedalBrakeNonLinear()

const std::vector< int > * moza::getPedalBrakeNonLinear ( ERRORCODE &  err)

Get the pedal brake output nonlinear adjustment

参数
errError code
返回
Pedal brake output nonlinear adjustment

◆ getPedalBrakeOutDir()

int moza::getPedalBrakeOutDir ( ERRORCODE &  err)

Get the brake output direction of the pedal

参数
errError code
返回
Pedal brake output direction, effective range 0-1, 0-forward 1-reverse

◆ getPedalBrakePressCombine()

int moza::getPedalBrakePressCombine ( ERRORCODE &  err)

Get the percentage of pressure binding points of the pedal

参数
errError code
返回
Pedal pressure binding percentage, effective range 0-100

◆ getPedalClutchNonLinear()

const std::vector< int > * moza::getPedalClutchNonLinear ( ERRORCODE &  err)

Get the pedal clutch output nonlinear adjustment

参数
errError code
返回
Pedal clutch output nonlinear adjustment

◆ getPedalClutchOutDir()

int moza::getPedalClutchOutDir ( ERRORCODE &  err)

Get the clutch output direction of the pedal

参数
errError code
返回
Pedal clutch output direction, effective range 0-1, 0-forward 1-reverse

◆ getSteeringWheelClutchPaddleAxisMode()

int moza::getSteeringWheelClutchPaddleAxisMode ( ERRORCODE &  err)

Get the steering wheel's clutch pattern

参数
errError code
返回
Steering wheel clutch mode, effective range 1-3

◆ getSteeringWheelClutchPaddleCombinePos()

int moza::getSteeringWheelClutchPaddleCombinePos ( ERRORCODE &  err)

Get the clutch combination value of the steering wheel

参数
errError code
返回
Steering wheel clutch combination value, effective range 0-100

◆ getSteeringWheelJoystickHatswitchMode()

int moza::getSteeringWheelJoystickHatswitchMode ( ERRORCODE &  err)

Get the joystick pattern for the steering wheel

参数
errError code
返回
Rocker mode for steering wheel, effective range 0-1

◆ getSteeringWheelKnobMode()

int moza::getSteeringWheelKnobMode ( ERRORCODE &  err)

Get the steering wheel's band knob mode

参数
errError code
返回
Steering wheel's band knob mode, effective range 0-1

◆ getSteeringWheelScreenBrightness()

int moza::getSteeringWheelScreenBrightness ( ERRORCODE &  err)

Gets the screen brightness of the display

参数
errError code
返回
Display screen brightness, effective range 0-100

◆ getSteeringWheelScreenCurrentUI()

int moza::getSteeringWheelScreenCurrentUI ( ERRORCODE &  err)

Get the current UI

参数
errError code
返回
current UI

◆ getSteeringWheelScreenUIList()

const std::map< int, std::string > * moza::getSteeringWheelScreenUIList ( ERRORCODE &  err)

Get UI list

参数
errError code
返回
UI list

◆ getSteeringWheelShiftIndicatorBrightness()

int moza::getSteeringWheelShiftIndicatorBrightness ( ERRORCODE &  err)

Get steering wheel indicator brightness

参数
errError code
返回
Steering wheel indicator brightness, effective range 0-100

◆ getSteeringWheelShiftIndicatorColor()

const std::vector< std::string > * moza::getSteeringWheelShiftIndicatorColor ( ERRORCODE &  err)

Get the steering wheel indicator color

参数
errError code
返回
Indicator color

◆ getSteeringWheelShiftIndicatorLightRpm()

const std::vector< int > * moza::getSteeringWheelShiftIndicatorLightRpm ( ERRORCODE &  err)

Gets the steering wheel's indicator speed indication percentage

参数
errError code
返回
Steering wheel indicator speed indicates percentage

◆ getSteeringWheelShiftIndicatorMode()

int moza::getSteeringWheelShiftIndicatorMode ( ERRORCODE &  err)

Get the steering wheel indicator display mode

参数
errError code
返回
Steering wheel indicator display mode, effective range 0-1

◆ getSteeringWheelShiftIndicatorSwitch()

int moza::getSteeringWheelShiftIndicatorSwitch ( ERRORCODE &  err)

Get the steering wheel's indicator switch mode

参数
errError code
返回
Steering wheel indicator switch mode, effective range 1-3

◆ getSteeringWheelSpeedUnit()

int moza::getSteeringWheelSpeedUnit ( ERRORCODE &  err)

Gets the speed unit of the display

参数
errError code
返回
The speed unit of the display, effective range 0-1

◆ getSteeringWheelTemperatureUnit()

int moza::getSteeringWheelTemperatureUnit ( ERRORCODE &  err)

Get the temperature unit of the display

参数
errError code
返回
Temperature unit of the display, effective range 0-1

◆ HandbrakeCalibrateFinish()

ERRORCODE moza::HandbrakeCalibrateFinish ( )

Handbrake calibration complete

返回
Error code

◆ HandbrakeCalibrateStart()

ERRORCODE moza::HandbrakeCalibrateStart ( )

Handbrake calibration Start

返回
Error code

◆ installMozaSDK()

void moza::installMozaSDK ( )

load sdk

◆ motorMoveTo()

void moza::motorMoveTo ( HWND  id,
float  angle,
float  speed,
ERRORCODE &  err 
)

Get the motor limit Angle

参数
idWindow id
angletarget angle,unit deg(degree)
speedtarget speed,unit rpm(Revolutions Per Minute)
errError code
返回
success

◆ motorStopMove()

void moza::motorStopMove ( )

◆ removeMozaSDK()

void moza::removeMozaSDK ( )

remove sdk

◆ setDisplayScreenScreenBrightness()

ERRORCODE moza::setDisplayScreenScreenBrightness ( int  v)

Set the screen brightness of the display

参数
vDisplay screen brightness, effective range 0-100
返回
Error code

◆ setDisplayScreenScreenCurrentUI()

ERRORCODE moza::setDisplayScreenScreenCurrentUI ( int  v)

Set the current UI of the display

参数
vUI id
返回
Error code

◆ setDisplayScreenSpeedUnit()

ERRORCODE moza::setDisplayScreenSpeedUnit ( int  v)

Set the speed unit of the display

参数
vThe speed unit of the display, effective range 0-1, 0-metric 1-imperial
返回
Error code

◆ setDisplayScreenTemperatureUnit()

ERRORCODE moza::setDisplayScreenTemperatureUnit ( int  v)

Set the temperature unit of the display

参数
vTemperature unit of the display, effective range 0-1, 0-degrees Celsius, 1-degrees Fahrenheit
返回
Error code

◆ setHandbrakeApplicationMode()

ERRORCODE moza::setHandbrakeApplicationMode ( int  v)

Set the application mode of the handbrake

参数
vHandbrake application mode, effective range 0-1
返回
Error code

◆ setHandbrakeNonLinear()

ERRORCODE moza::setHandbrakeNonLinear ( const std::vector< int > &  v)

Set the handbrake output nonlinear adjustment

参数
vHandbrake output nonlinear adjustment
返回
Error code

◆ setHandbrakeOutDir()

ERRORCODE moza::setHandbrakeOutDir ( int  v)

Set the output direction of the handbrake

参数
vHand brake output direction, effective range 0-1
返回
Error code

◆ setHandingShifterAutoBlipDuration()

ERRORCODE moza::setHandingShifterAutoBlipDuration ( int  v)

Get the downshift refill duration of the shifter

参数
vDownshift replenishment duration of gear shifter, effective range 0-1000
返回
Error code

◆ setHandingShifterAutoBlipOutput()

ERRORCODE moza::setHandingShifterAutoBlipOutput ( int  v)

Get the downshift refill output percentage of the shifter

参数
vDownshift oil output percentage of the stopper, effective range 0-100
返回
Error code

◆ setHandingShifterAutoBlipSwitch()

ERRORCODE moza::setHandingShifterAutoBlipSwitch ( int  v)

Get the downshift refill switch of the gear shifter

参数
vDownshift oil refill switch of gear shifter, effective range 0-1
返回
Error code

◆ setMotorEqualizerAmp()

ERRORCODE moza::setMotorEqualizerAmp ( const std::map< std::string, int > &  v)

Set the frequency of the motor's road awareness equalizer

参数
vFrequency of the motor's road sense equalizer,EqualizerAmp7_5;EqualizerAmp13,EqualizerAmp22_5,EqualizerAmp39,EqualizerAmp55,[0,500],EqualizerAmp100[0,100]
返回
Error code

◆ setMotorFfbReverse()

ERRORCODE moza::setMotorFfbReverse ( int  v)

Set the game force reverse switch of the motor

参数
vMotor game force reverse switch, effective range 0-1
返回
Error code

◆ setMotorFfbStrength()

ERRORCODE moza::setMotorFfbStrength ( int  v)

Set the game force feedback intensity of the motor

参数
vThe game force feedback intensity of the motor, effective range 0-100
返回
Error code

◆ setMotorHandsOffProtection()

ERRORCODE moza::setMotorHandsOffProtection ( int  v)

Set motor hand off protection switch

参数
vMotor hand off protection switch, effective range 0-1
返回
Error code

◆ setMotorLimitAngle()

ERRORCODE moza::setMotorLimitAngle ( int  limitAngle,
int  gameMaximumAngle 
)

Set the motor limit Angle

参数
limitAngleMotor limitAngle, effective range 90-2000
gameMaximumAnglegame limitAngle, effective range 90-limitAngle
返回
Error code

◆ setMotorLimitWheelSpeed()

ERRORCODE moza::setMotorLimitWheelSpeed ( int  v)

Set the maximum steering wheel speed of the motor

参数
vMotor steering wheel maximum speed, effective range 10-100
返回
Error code

◆ setMotorNaturalDamper()

ERRORCODE moza::setMotorNaturalDamper ( int  v)

Set to get the mechanical damping of the motor

参数
vMechanical damping of motor, effective range 0-100
返回
Error code

◆ setMotorNaturalFriction()

ERRORCODE moza::setMotorNaturalFriction ( int  v)

Set to get the mechanical friction of the motor

参数
vMechanical friction of motor, effective range 0-100
返回
Error code

◆ setMotorNaturalInertia()

ERRORCODE moza::setMotorNaturalInertia ( int  v)

Set the natural inertia of the motor

参数
vNatural inertia of the motor, effective range 100-500
返回
Error code

◆ setMotorNaturalInertiaRatio()

ERRORCODE moza::setMotorNaturalInertiaRatio ( int  v)

Set the actual steering wheel inertia ratio of the motor

参数
vThe actual inertia ratio of the steering wheel of the motor, effective range 100-4000
返回
Error code

◆ setMotorPeakTorque()

ERRORCODE moza::setMotorPeakTorque ( int  v)

Set the maximum output torque limit of the motor

参数
vMotor maximum output torque limit, effective range 50-100
返回
Error code

◆ setMotorRoadSensitivity()

ERRORCODE moza::setMotorRoadSensitivity ( int  v)

Set the road sensitivity of the motor

参数
vMotor road sensitivity, effective range 0-10
返回
Error code

◆ setMotorSpeedDamping()

ERRORCODE moza::setMotorSpeedDamping ( int  v)

Set the speed damping of the motor

参数
vMotor damping with speed, effective range 0-100
返回
Error code

◆ setMotorSpeedDampingStartPoint()

ERRORCODE moza::setMotorSpeedDampingStartPoint ( int  v)

Set the velocity damping starting point of the motor

参数
vVelocity damping starting point of the motor, effective range 0-400
返回
Error code

◆ setMotorSpringStrength()

ERRORCODE moza::setMotorSpringStrength ( int  v)

Set the mechanical return strength of the motor

参数
vMechanical return strength of the motor, effective range 0-100
返回
Error code

◆ setPedalAccNonLinear()

ERRORCODE moza::setPedalAccNonLinear ( const std::vector< int > &  v)

Set pedal throttle output nonlinear adjustment

参数
vPedal throttle output nonlinear adjustment, effective range 0-100
返回
Error code

◆ setPedalAccOutDir()

ERRORCODE moza::setPedalAccOutDir ( int  v)

Set the throttle output direction of the pedal

参数
vPedal throttle output direction, effective range 0-1, 0-forward 1-reverse
返回
Error code

◆ setPedalBrakeNonLinear()

ERRORCODE moza::setPedalBrakeNonLinear ( const std::vector< int > &  v)

Set pedal brake output nonlinear adjustment

参数
vPedal brake output nonlinear adjustment
返回
Error code

◆ setPedalBrakeOutDir()

ERRORCODE moza::setPedalBrakeOutDir ( int  v)

Set the brake output direction of the pedal

参数
vPedal brake output direction, effective range 0-1, 0-forward 1-reverse
返回
Error code

◆ setPedalBrakePressCombine()

ERRORCODE moza::setPedalBrakePressCombine ( int  v)

Set the percentage of pressure binding points for the pedal

参数
vPedal pressure binding percentage, effective range 0-100
返回
Error code

◆ setPedalClutchNonLinear()

ERRORCODE moza::setPedalClutchNonLinear ( const std::vector< int > &  v)

Set pedal clutch output nonlinear adjustment

参数
vPedal clutch output nonlinear adjustment, effective range 0-100
返回
Error code

◆ setPedalClutchOutDir()

ERRORCODE moza::setPedalClutchOutDir ( int  v)

Set the clutch output direction of the pedal

参数
vPedal clutch output direction, effective range 0-1, 0-forward 1-reverse
返回
Error code

◆ setSteeringWheelClutchPaddleAxisMode()

ERRORCODE moza::setSteeringWheelClutchPaddleAxisMode ( int  v)

Set the steering wheel's clutch pattern

参数
vSteering wheel clutch mode, effective range 1-3
返回
Error code

◆ setSteeringWheelClutchPaddleCombinePos()

ERRORCODE moza::setSteeringWheelClutchPaddleCombinePos ( int  v)

Set the clutch combination value of the steering wheel

参数
vSteering wheel clutch combination value, effective range 0-100
返回
Error code

◆ setSteeringWheelJoystickHatswitchMode()

ERRORCODE moza::setSteeringWheelJoystickHatswitchMode ( int  v)

Set the rocker mode for the steering wheel

参数
vRocker mode for steering wheel, effective range 0-1
返回
Error code

◆ setSteeringWheelKnobMode()

ERRORCODE moza::setSteeringWheelKnobMode ( int  v)

Set the steering wheel's band knob mode

参数
vSteering wheel's band knob mode, effective range 0-1
返回
Error code

◆ setSteeringWheelScreenBrightness()

ERRORCODE moza::setSteeringWheelScreenBrightness ( int  v)

Set the screen brightness of the display

参数
vDisplay screen brightness, effective range 0-100
返回
Error code

◆ setSteeringWheelScreenCurrentUI()

ERRORCODE moza::setSteeringWheelScreenCurrentUI ( int  v)

Set current UI

参数
vcurrent UI
返回
Error code

◆ setSteeringWheelShiftIndicatorBrightness()

ERRORCODE moza::setSteeringWheelShiftIndicatorBrightness ( int  v)

Set steering wheel indicator brightness

参数
vSteering wheel indicator brightness, effective range 0-100
返回
Error code

◆ setSteeringWheelShiftIndicatorColor()

ERRORCODE moza::setSteeringWheelShiftIndicatorColor ( const std::vector< std::string > &  v)

Set the steering wheel indicator color

参数
vIndicator color
返回
Error code

◆ setSteeringWheelShiftIndicatorLightRpm()

ERRORCODE moza::setSteeringWheelShiftIndicatorLightRpm ( const std::vector< int > &  v)

Set the steering wheel's indicator speed indication percentage

参数
vSteering wheel indicator speed indication percentage, effective range 0-100
返回
Error code

◆ setSteeringWheelShiftIndicatorMode()

ERRORCODE moza::setSteeringWheelShiftIndicatorMode ( int  v)

Set the steering wheel indicator display mode

参数
vSteering wheel indicator display mode, effective range 0-1
返回
Error code

◆ setSteeringWheelShiftIndicatorSwitch()

ERRORCODE moza::setSteeringWheelShiftIndicatorSwitch ( int  v)

Set the steering wheel indicator switch mode

参数
vSteering wheel indicator switch mode, effective range 1-3
返回
Error code

◆ setSteeringWheelSpeedUnit()

ERRORCODE moza::setSteeringWheelSpeedUnit ( int  v)

Set the speed unit of the display

参数
vThe speed unit of the display, effective range 0-1
返回
Error code

◆ setSteeringWheelTemperatureUnit()

ERRORCODE moza::setSteeringWheelTemperatureUnit ( int  v)

Set the temperature unit of the display

参数
vTemperature unit of the display, effective range 0-1
返回
Error code

◆ ShifterCalibrateFinish()

ERRORCODE moza::ShifterCalibrateFinish ( )

Shift end calibration

返回
Error code

◆ ShifterCalibrateStart()

ERRORCODE moza::ShifterCalibrateStart ( )

Gear shifter start calibration

返回
Error code

◆ SoftReboot()

ERRORCODE moza::SoftReboot ( )

Soft restart of motor

返回
Error code