4 #include "hid_struct.h" 9 #ifdef MATHLIBRARY_EXPORTS 10 #define WIN_API __declspec(dllexport) 12 #define WIN_API __declspec(dllimport) 181 WIN_API
void motorMoveTo(HWND
id,
float angle,
float speed, ERRORCODE &err);
WIN_API ERRORCODE ShifterCalibrateFinish()
Shift end calibration
Definition: mozaAPI.cc:1312
WIN_API ERRORCODE setSteeringWheelTemperatureUnit(int v)
Set the temperature unit of the display
Definition: mozaAPI.cc:943
WIN_API std::shared_ptr< RS21::direct_input::ETSpring > createWheelbaseETSpring(HWND id, ERRORCODE &err)
Create a return force effector
Definition: mozaAPI.cc:302
WIN_API ERRORCODE setDisplayScreenTemperatureUnit(int v)
Set the temperature unit of the display
Definition: mozaAPI.cc:1002
WIN_API std::shared_ptr< RS21::direct_input::ETFriction > createWheelbaseETFriction(HWND id, ERRORCODE &err)
Create a friction effector
Definition: mozaAPI.cc:284
WIN_API int getMotorHandsOffProtection(ERRORCODE &err)
Get the motor hand off the protective switch
Definition: mozaAPI.cc:513
WIN_API void installMozaSDK()
load sdk
Definition: mozaAPI.cc:184
WIN_API ERRORCODE setMotorPeakTorque(int v)
Set the maximum output torque limit of the motor
Definition: mozaAPI.cc:629
WIN_API const std::vector< int > * getPedalBrakeNonLinear(ERRORCODE &err)
Get the pedal brake output nonlinear adjustment
Definition: mozaAPI.cc:1059
WIN_API ERRORCODE setMotorLimitWheelSpeed(int v)
Set the maximum steering wheel speed of the motor
Definition: mozaAPI.cc:594
WIN_API ERRORCODE setMotorHandsOffProtection(int v)
Set motor hand off protection switch
Definition: mozaAPI.cc:657
WIN_API ERRORCODE setPedalBrakePressCombine(int v)
Set the percentage of pressure binding points for the pedal
Definition: mozaAPI.cc:1154
WIN_API int getMotorRoadSensitivity(ERRORCODE &err)
Get the road sensitivity of the motor
Definition: mozaAPI.cc:446
WIN_API ERRORCODE setMotorLimitAngle(int limitAngle, int gameMaximumAngle)
Set the motor limit Angle
Definition: mozaAPI.cc:531
WIN_API int getMotorFfbReverse(ERRORCODE &err)
Get the motor's game force reverse switch
Definition: mozaAPI.cc:519
WIN_API ERRORCODE AccCalibrateStrat()
Pedal throttle calibration begins
Definition: mozaAPI.cc:1088
WIN_API ERRORCODE setSteeringWheelShiftIndicatorLightRpm(const std::vector< int > &v)
Set the steering wheel's indicator speed indication percentage
Definition: mozaAPI.cc:923
WIN_API ERRORCODE setSteeringWheelJoystickHatswitchMode(int v)
Set the rocker mode for the steering wheel
Definition: mozaAPI.cc:870
WIN_API const std::vector< int > * getHandbrakeNonLinear(ERRORCODE &err)
Get the nonlinear adjustment of handbrake output
Definition: mozaAPI.cc:1218
WIN_API ERRORCODE ClutchCalibrateStrat()
Pedal clutch calibration begins
Definition: mozaAPI.cc:1065
WIN_API ERRORCODE setMotorNaturalFriction(int v)
Set to get the mechanical friction of the motor
Definition: mozaAPI.cc:615
WIN_API int getMotorLimitWheelSpeed(ERRORCODE &err)
Get the maximum steering wheel speed of the motor
Definition: mozaAPI.cc:458
WIN_API ERRORCODE HandbrakeCalibrateStart()
Handbrake calibration Start
Definition: mozaAPI.cc:1224
WIN_API int getHandingShifterAutoBlipDuration(ERRORCODE &err)
Get the downshift refill duration of the shifter
Definition: mozaAPI.cc:1283
WIN_API int getSteeringWheelShiftIndicatorBrightness(ERRORCODE &err)
Get steering wheel indicator brightness
Definition: mozaAPI.cc:757
WIN_API ERRORCODE setMotorSpeedDamping(int v)
Set the speed damping of the motor
Definition: mozaAPI.cc:622
WIN_API ERRORCODE setMotorFfbStrength(int v)
Set the game force feedback intensity of the motor
Definition: mozaAPI.cc:587
WIN_API ERRORCODE setSteeringWheelScreenCurrentUI(int v)
Set current UI
Definition: mozaAPI.cc:957
WIN_API ERRORCODE setMotorRoadSensitivity(int v)
Set the road sensitivity of the motor
Definition: mozaAPI.cc:580
WIN_API ERRORCODE setMotorSpeedDampingStartPoint(int v)
Set the velocity damping starting point of the motor
Definition: mozaAPI.cc:650
WIN_API ERRORCODE setSteeringWheelShiftIndicatorColor(const std::vector< std::string > &v)
Set the steering wheel indicator color
Definition: mozaAPI.cc:891
WIN_API int getSteeringWheelJoystickHatswitchMode(ERRORCODE &err)
Get the joystick pattern for the steering wheel
Definition: mozaAPI.cc:781
WIN_API ERRORCODE setMotorNaturalInertiaRatio(int v)
Set the actual steering wheel inertia ratio of the motor
Definition: mozaAPI.cc:636
WIN_API ERRORCODE setSteeringWheelClutchPaddleAxisMode(int v)
Set the steering wheel's clutch pattern
Definition: mozaAPI.cc:848
WIN_API int getHandbrakeOutDir(ERRORCODE &err)
Get the output direction of the handbrake
Definition: mozaAPI.cc:1206
WIN_API ERRORCODE setSteeringWheelSpeedUnit(int v)
Set the speed unit of the display
Definition: mozaAPI.cc:936
WIN_API int getMotorFfbStrength(ERRORCODE &err)
Get the game force feedback intensity of the motor
Definition: mozaAPI.cc:452
WIN_API const std::vector< int > * getPedalAccNonLinear(ERRORCODE &err)
Get the pedal throttle output nonlinear adjustment
Definition: mozaAPI.cc:1053
WIN_API ERRORCODE CenterWheel()
Steering wheel alignment
Definition: mozaAPI.cc:742
WIN_API std::shared_ptr< RS21::direct_input::ETSine > createWheelbaseETSine(HWND id, ERRORCODE &err)
Create a sinusoidal force effector
Definition: mozaAPI.cc:266
WIN_API ERRORCODE setSteeringWheelShiftIndicatorSwitch(int v)
Set the steering wheel indicator switch mode
Definition: mozaAPI.cc:877
WIN_API std::shared_ptr< RS21::direct_input::ETDamper > createWheelbaseETDamper(HWND id, ERRORCODE &err)
Create a dampener
Definition: mozaAPI.cc:275
WIN_API const std::vector< int > * getPedalClutchNonLinear(ERRORCODE &err)
Get the pedal clutch output nonlinear adjustment
Definition: mozaAPI.cc:1047
WIN_API int getMotorPeakTorque(ERRORCODE &err)
Get the maximum output torque limit of the motor
Definition: mozaAPI.cc:489
WIN_API int getPedalBrakePressCombine(ERRORCODE &err)
Get the percentage of pressure binding points of the pedal
Definition: mozaAPI.cc:1041
WIN_API ERRORCODE setMotorEqualizerAmp(const std::map< std::string, int > &v)
Set the frequency of the motor's road awareness equalizer
Definition: mozaAPI.cc:671
WIN_API int getSteeringWheelShiftIndicatorMode(ERRORCODE &err)
Get the steering wheel indicator display mode
Definition: mozaAPI.cc:793
WIN_API ERRORCODE setMotorNaturalDamper(int v)
Set to get the mechanical damping of the motor
Definition: mozaAPI.cc:608
WIN_API const std::vector< std::string > * getSteeringWheelShiftIndicatorColor(ERRORCODE &err)
Get the steering wheel indicator color
Definition: mozaAPI.cc:799
WIN_API ERRORCODE BrakeCalibrateFinish()
Pedal brake calibration complete
Definition: mozaAPI.cc:1127
WIN_API const std::map< std::string, int > * getMotorEqualizerAmp(ERRORCODE &err)
Get the frequency of the motor's road awareness equalizer
Definition: mozaAPI.cc:525
WIN_API int getSteeringWheelKnobMode(ERRORCODE &err)
Get the steering wheel's band knob mode
Definition: mozaAPI.cc:775
WIN_API ERRORCODE setHandbrakeNonLinear(const std::vector< int > &v)
Set the handbrake output nonlinear adjustment
Definition: mozaAPI.cc:1262
WIN_API ERRORCODE setHandingShifterAutoBlipDuration(int v)
Get the downshift refill duration of the shifter
Definition: mozaAPI.cc:1326
WIN_API ERRORCODE setDisplayScreenSpeedUnit(int v)
Set the speed unit of the display
Definition: mozaAPI.cc:994
WIN_API int getSteeringWheelClutchPaddleCombinePos(ERRORCODE &err)
Get the clutch combination value of the steering wheel
Definition: mozaAPI.cc:769
WIN_API int getHandingShifterAutoBlipOutput(ERRORCODE &err)
Get the downshift refill output percentage of the shifter
Definition: mozaAPI.cc:1277
WIN_API ERRORCODE setDisplayScreenScreenBrightness(int v)
Set the screen brightness of the display
Definition: mozaAPI.cc:1009
WIN_API int getSteeringWheelSpeedUnit(ERRORCODE &err)
Gets the speed unit of the display
Definition: mozaAPI.cc:811
WIN_API ERRORCODE setMotorNaturalInertia(int v)
Set the natural inertia of the motor
Definition: mozaAPI.cc:643
WIN_API ERRORCODE setPedalAccNonLinear(const std::vector< int > &v)
Set pedal throttle output nonlinear adjustment
Definition: mozaAPI.cc:1176
WIN_API ERRORCODE setPedalClutchNonLinear(const std::vector< int > &v)
Set pedal clutch output nonlinear adjustment
Definition: mozaAPI.cc:1161
WIN_API int getDisplayScreenScreenBrightness(ERRORCODE &err)
Get the screen brightness of the display
Definition: mozaAPI.cc:976
WIN_API int getPedalAccOutDir(ERRORCODE &err)
Get the throttle output direction of the pedal
Definition: mozaAPI.cc:1035
WIN_API ERRORCODE BrakeCalibrateStrat()
Pedal brake calibration begins
Definition: mozaAPI.cc:1110
WIN_API int getMotorNaturalFriction(ERRORCODE &err)
Get the mechanical friction of the motor
Definition: mozaAPI.cc:477
WIN_API int getMotorSpeedDampingStartPoint(ERRORCODE &err)
Get the velocity damping starting point of the motor
Definition: mozaAPI.cc:507
WIN_API ERRORCODE setHandingShifterAutoBlipOutput(int v)
Get the downshift refill output percentage of the shifter
Definition: mozaAPI.cc:1319
WIN_API const std::map< int, std::string > * getSteeringWheelScreenUIList(ERRORCODE &err)
Get UI list
Definition: mozaAPI.cc:829
WIN_API ERRORCODE setPedalBrakeNonLinear(const std::vector< int > &v)
Set pedal brake output nonlinear adjustment
Definition: mozaAPI.cc:1191
WIN_API int getSteeringWheelClutchPaddleAxisMode(ERRORCODE &err)
Get the steering wheel's clutch pattern
Definition: mozaAPI.cc:763
WIN_API int getPedalClutchOutDir(ERRORCODE &err)
Get the clutch output direction of the pedal
Definition: mozaAPI.cc:1023
WIN_API int getDisplayScreenSpeedUnit(ERRORCODE &err)
Get the speed unit of the display
Definition: mozaAPI.cc:964
WIN_API const std::pair< int, int > * getMotorLimitAngle(ERRORCODE &err)
Get the motor limit Angle
Definition: mozaAPI.cc:440
WIN_API int getSteeringWheelScreenCurrentUI(ERRORCODE &err)
Get the current UI
Definition: mozaAPI.cc:835
WIN_API ERRORCODE HandbrakeCalibrateFinish()
Handbrake calibration complete
Definition: mozaAPI.cc:1241
WIN_API void motorMoveTo(HWND id, float angle, float speed, ERRORCODE &err)
Get the motor limit Angle
Definition: mozaAPI.cc:1443
WIN_API int getSteeringWheelScreenBrightness(ERRORCODE &err)
Gets the screen brightness of the display
Definition: mozaAPI.cc:823
WIN_API ERRORCODE setPedalBrakeOutDir(int v)
Set the brake output direction of the pedal
Definition: mozaAPI.cc:1140
WIN_API ERRORCODE setSteeringWheelClutchPaddleCombinePos(int v)
Set the clutch combination value of the steering wheel
Definition: mozaAPI.cc:856
WIN_API ERRORCODE setHandingShifterAutoBlipSwitch(int v)
Get the downshift refill switch of the gear shifter
Definition: mozaAPI.cc:1333
WIN_API int getPedalBrakeOutDir(ERRORCODE &err)
Get the brake output direction of the pedal
Definition: mozaAPI.cc:1029
Definition: hid_struct.h:103
WIN_API const std::map< int, std::string > * getDisplayScreenScreenUIList(ERRORCODE &err)
Get the display UI list
Definition: mozaAPI.cc:982
WIN_API int getMotorNaturalInertiaRatio(ERRORCODE &err)
Get the actual steering wheel inertia ratio of the motor
Definition: mozaAPI.cc:495
WIN_API ERRORCODE setHandbrakeOutDir(int v)
Set the output direction of the handbrake
Definition: mozaAPI.cc:1248
WIN_API std::shared_ptr< RS21::direct_input::ETInertia > createWheelbaseETInertia(HWND id, ERRORCODE &err)
Create an inertia effector
Definition: mozaAPI.cc:293
WIN_API ERRORCODE setPedalAccOutDir(int v)
Set the throttle output direction of the pedal
Definition: mozaAPI.cc:1147
WIN_API int getDisplayScreenScreenCurrentUI(ERRORCODE &err)
Get the current UI of the display
Definition: mozaAPI.cc:988
WIN_API int getMotorSpringStrength(ERRORCODE &err)
Get the mechanical return strength of the motor
Definition: mozaAPI.cc:465
WIN_API ERRORCODE setHandbrakeApplicationMode(int v)
Set the application mode of the handbrake
Definition: mozaAPI.cc:1255
WIN_API ERRORCODE setSteeringWheelShiftIndicatorMode(int v)
Set the steering wheel indicator display mode
Definition: mozaAPI.cc:884
WIN_API int getSteeringWheelShiftIndicatorSwitch(ERRORCODE &err)
Get the steering wheel's indicator switch mode
Definition: mozaAPI.cc:787
WIN_API int getMotorNaturalInertia(ERRORCODE &err)
Get the natural inertia of the motor
Definition: mozaAPI.cc:501
WIN_API int getDisplayScreenTemperatureUnit(ERRORCODE &err)
Get the temperature unit of the display
Definition: mozaAPI.cc:970
WIN_API ERRORCODE setSteeringWheelScreenBrightness(int v)
Set the screen brightness of the display
Definition: mozaAPI.cc:950
WIN_API ERRORCODE setSteeringWheelShiftIndicatorBrightness(int v)
Set steering wheel indicator brightness
Definition: mozaAPI.cc:841
WIN_API ERRORCODE setMotorFfbReverse(int v)
Set the game force reverse switch of the motor
Definition: mozaAPI.cc:664
WIN_API ERRORCODE SoftReboot()
Soft restart of motor
Definition: mozaAPI.cc:727
WIN_API void motorStopMove()
Definition: mozaAPI.cc:1448
WIN_API ERRORCODE setMotorSpringStrength(int v)
Set the mechanical return strength of the motor
Definition: mozaAPI.cc:601
WIN_API int getMotorNaturalDamper(ERRORCODE &err)
Get the mechanical damping of the motor
Definition: mozaAPI.cc:471
WIN_API void removeMozaSDK()
remove sdk
Definition: mozaAPI.cc:191
WIN_API int getHandingShifterAutoBlipSwitch(ERRORCODE &err)
Get the downshift refill switch of the gear shifter
Definition: mozaAPI.cc:1289
WIN_API ERRORCODE setPedalClutchOutDir(int v)
Set the clutch output direction of the pedal
Definition: mozaAPI.cc:1133
WIN_API ERRORCODE ShifterCalibrateStart()
Gear shifter start calibration
Definition: mozaAPI.cc:1295
WIN_API const char * getDeviceParent(PRODUCTTYPE dev, ERRORCODE &err)
Gets the enumerated value of the connected device
Definition: mozaAPI.cc:330
WIN_API int getHandbrakeApplicationMode(ERRORCODE &err)
Get the application mode of the handbrake
Definition: mozaAPI.cc:1212
WIN_API int getSteeringWheelTemperatureUnit(ERRORCODE &err)
Get the temperature unit of the display
Definition: mozaAPI.cc:817
WIN_API const HIDData * getHIDData(ERRORCODE &err)
Gets all hid data during the cycle
Definition: mozaAPI.cc:311
WIN_API ERRORCODE ClutchCalibrateFinish()
Pedal clutch calibration is complete
Definition: mozaAPI.cc:1082
WIN_API std::shared_ptr< RS21::direct_input::ETConstantForce > createWheelbaseETConstantForce(HWND id, ERRORCODE &err)
Create a constant Force effector
Definition: mozaAPI.cc:257
WIN_API int getMotorSpeedDamping(ERRORCODE &err)
Get the velocity damping of the motor
Definition: mozaAPI.cc:483
WIN_API const std::vector< int > * getSteeringWheelShiftIndicatorLightRpm(ERRORCODE &err)
Gets the steering wheel's indicator speed indication percentage
Definition: mozaAPI.cc:805
WIN_API ERRORCODE setDisplayScreenScreenCurrentUI(int v)
Set the current UI of the display
Definition: mozaAPI.cc:1016
WIN_API ERRORCODE setSteeringWheelKnobMode(int v)
Set the steering wheel's band knob mode
Definition: mozaAPI.cc:863
WIN_API ERRORCODE AccCalibrateFinish()
Pedal throttle calibration is complete
Definition: mozaAPI.cc:1104