mozaSdk
mozaAPI.h
1 #include <map>
2 #include <string>
3 #include <iostream>
4 #include "hid_struct.h"
5 #include "enumCode.h"
6 #include "effects.h"
7 
8 #ifdef DLL_EXPORTS
9 #ifdef MATHLIBRARY_EXPORTS
10 #define WIN_API __declspec(dllexport)
11 #else
12 #define WIN_API __declspec(dllimport)
13 #endif
14 #else
15 #define WIN_API
16 #endif
17 
18 namespace moza {
26 WIN_API void installMozaSDK();
34 WIN_API void removeMozaSDK();
35 
36 //力反馈
50 WIN_API std::shared_ptr<RS21::direct_input::ETSine> createWheelbaseETSine(HWND id, ERRORCODE& err);
64 WIN_API std::shared_ptr<RS21::direct_input::ETConstantForce> createWheelbaseETConstantForce(HWND id, ERRORCODE& err);
78 WIN_API std::shared_ptr<RS21::direct_input::ETSpring> createWheelbaseETSpring(HWND id, ERRORCODE& err);
92 WIN_API std::shared_ptr<RS21::direct_input::ETDamper> createWheelbaseETDamper(HWND id, ERRORCODE& err);
106 WIN_API std::shared_ptr<RS21::direct_input::ETInertia> createWheelbaseETInertia(HWND id, ERRORCODE& err);
120 WIN_API std::shared_ptr<RS21::direct_input::ETFriction> createWheelbaseETFriction(HWND id, ERRORCODE &err);
121 
122 //HID
134 WIN_API const HIDData* getHIDData(ERRORCODE& err);
148 WIN_API const char* getDeviceParent(PRODUCTTYPE dev, ERRORCODE& err);
149 
150 //电机
162 WIN_API const std::pair<int, int>* getMotorLimitAngle(ERRORCODE& err);
163 
181 WIN_API void motorMoveTo(HWND id,float angle, float speed, ERRORCODE &err);
182 
183 WIN_API void motorStopMove();
195 WIN_API int getMotorRoadSensitivity(ERRORCODE& err);
207 WIN_API int getMotorFfbStrength(ERRORCODE& err);
219 WIN_API int getMotorLimitWheelSpeed(ERRORCODE& err);
231 WIN_API int getMotorSpringStrength(ERRORCODE& err);
243 WIN_API int getMotorNaturalDamper(ERRORCODE& err);
255 WIN_API int getMotorNaturalFriction(ERRORCODE& err);
267 WIN_API int getMotorSpeedDamping(ERRORCODE& err);
279 WIN_API int getMotorPeakTorque(ERRORCODE& err);
291 WIN_API int getMotorNaturalInertiaRatio(ERRORCODE& err);
303 WIN_API int getMotorNaturalInertia(ERRORCODE& err);
315 WIN_API int getMotorSpeedDampingStartPoint(ERRORCODE& err);
327 WIN_API int getMotorHandsOffProtection(ERRORCODE& err);
339 WIN_API int getMotorFfbReverse(ERRORCODE& err);
351 WIN_API const std::map<std::string, int>* getMotorEqualizerAmp(ERRORCODE& err);
352 
366 WIN_API ERRORCODE setMotorLimitAngle(int limitAngle, int gameMaximumAngle);
378 WIN_API ERRORCODE setMotorRoadSensitivity(int v);
390 WIN_API ERRORCODE setMotorFfbStrength(int v);
402 WIN_API ERRORCODE setMotorLimitWheelSpeed(int v);
414 WIN_API ERRORCODE setMotorSpringStrength(int v);
426 WIN_API ERRORCODE setMotorNaturalDamper(int v);
438 WIN_API ERRORCODE setMotorNaturalFriction(int v);
450 WIN_API ERRORCODE setMotorSpeedDamping(int v);
462 WIN_API ERRORCODE setMotorPeakTorque(int v);
474 WIN_API ERRORCODE setMotorNaturalInertiaRatio(int v);
486 WIN_API ERRORCODE setMotorNaturalInertia(int v);
498 WIN_API ERRORCODE setMotorSpeedDampingStartPoint(int v);
510 WIN_API ERRORCODE setMotorHandsOffProtection(int v);
522 WIN_API ERRORCODE setMotorFfbReverse(int v);
534 WIN_API ERRORCODE setMotorEqualizerAmp(const std::map<std::string, int>& v);
544 WIN_API ERRORCODE SoftReboot();
545 
546 //方向盘
556 WIN_API ERRORCODE CenterWheel();
568 WIN_API int getSteeringWheelShiftIndicatorBrightness(ERRORCODE& err);
580 WIN_API int getSteeringWheelClutchPaddleAxisMode(ERRORCODE& err);
592 WIN_API int getSteeringWheelClutchPaddleCombinePos(ERRORCODE& err);
604 WIN_API int getSteeringWheelKnobMode(ERRORCODE& err);
616 WIN_API int getSteeringWheelJoystickHatswitchMode(ERRORCODE& err);
628 WIN_API int getSteeringWheelShiftIndicatorSwitch(ERRORCODE& err);
640 WIN_API int getSteeringWheelShiftIndicatorMode(ERRORCODE& err);
652 WIN_API const std::vector<std::string>* getSteeringWheelShiftIndicatorColor(ERRORCODE& err);
664 WIN_API const std::vector<int>* getSteeringWheelShiftIndicatorLightRpm(ERRORCODE& err);
676 WIN_API int getSteeringWheelSpeedUnit(ERRORCODE& err);
688 WIN_API int getSteeringWheelTemperatureUnit(ERRORCODE& err);
700 WIN_API int getSteeringWheelScreenBrightness(ERRORCODE& err);
712 WIN_API const std::map<int, std::string>* getSteeringWheelScreenUIList(ERRORCODE& err);
724 WIN_API int getSteeringWheelScreenCurrentUI(ERRORCODE& err);
725 
737 WIN_API ERRORCODE setSteeringWheelShiftIndicatorBrightness(int v);
749 WIN_API ERRORCODE setSteeringWheelClutchPaddleAxisMode(int v);
761 WIN_API ERRORCODE setSteeringWheelClutchPaddleCombinePos(int v);
773 WIN_API ERRORCODE setSteeringWheelKnobMode(int v);
785 WIN_API ERRORCODE setSteeringWheelJoystickHatswitchMode(int v);
797 WIN_API ERRORCODE setSteeringWheelShiftIndicatorSwitch(int v);
809 WIN_API ERRORCODE setSteeringWheelShiftIndicatorMode(int v);
821 WIN_API ERRORCODE setSteeringWheelShiftIndicatorColor(const std::vector<std::string>& v);
833 WIN_API ERRORCODE setSteeringWheelShiftIndicatorLightRpm(const std::vector<int>& v);
845 WIN_API ERRORCODE setSteeringWheelSpeedUnit(int v);
857 WIN_API ERRORCODE setSteeringWheelTemperatureUnit(int v);
869 WIN_API ERRORCODE setSteeringWheelScreenBrightness(int v);
881 WIN_API ERRORCODE setSteeringWheelScreenCurrentUI(int v);
882 
883 //显示器
895 WIN_API int getDisplayScreenSpeedUnit(ERRORCODE& err);
907 WIN_API int getDisplayScreenTemperatureUnit(ERRORCODE& err);
919 WIN_API int getDisplayScreenScreenBrightness(ERRORCODE& err);
931 WIN_API const std::map<int, std::string>* getDisplayScreenScreenUIList(ERRORCODE& err);
943 WIN_API int getDisplayScreenScreenCurrentUI(ERRORCODE& err);
944 
956 WIN_API ERRORCODE setDisplayScreenSpeedUnit(int v);
968 WIN_API ERRORCODE setDisplayScreenTemperatureUnit(int v);
980 WIN_API ERRORCODE setDisplayScreenScreenBrightness(int v);
992 WIN_API ERRORCODE setDisplayScreenScreenCurrentUI(int v);
993 
994 //踏板
1006 WIN_API int getPedalClutchOutDir(ERRORCODE& err);
1018 WIN_API int getPedalBrakeOutDir(ERRORCODE& err);
1030 WIN_API int getPedalAccOutDir(ERRORCODE& err);
1042 WIN_API int getPedalBrakePressCombine(ERRORCODE& err);
1054 WIN_API const std::vector<int>* getPedalClutchNonLinear(ERRORCODE& err);
1066 WIN_API const std::vector<int>* getPedalAccNonLinear(ERRORCODE& err);
1078 WIN_API const std::vector<int>* getPedalBrakeNonLinear(ERRORCODE& err);
1079 
1089 WIN_API ERRORCODE ClutchCalibrateStrat();
1099 WIN_API ERRORCODE ClutchCalibrateFinish();
1109 WIN_API ERRORCODE AccCalibrateStrat();
1119 WIN_API ERRORCODE AccCalibrateFinish();
1129 WIN_API ERRORCODE BrakeCalibrateStrat();
1139 WIN_API ERRORCODE BrakeCalibrateFinish();
1151 WIN_API ERRORCODE setPedalClutchOutDir(int v);
1163 WIN_API ERRORCODE setPedalBrakeOutDir(int v);
1175 WIN_API ERRORCODE setPedalAccOutDir(int v);
1187 WIN_API ERRORCODE setPedalBrakePressCombine(int v);
1199 WIN_API ERRORCODE setPedalClutchNonLinear(const std::vector<int>& v);
1211 WIN_API ERRORCODE setPedalAccNonLinear(const std::vector<int>& v);
1223 WIN_API ERRORCODE setPedalBrakeNonLinear(const std::vector<int>& v);
1224 
1225 //手刹
1237 WIN_API int getHandbrakeOutDir(ERRORCODE& err);
1249 WIN_API int getHandbrakeApplicationMode(ERRORCODE& err);
1261 WIN_API const std::vector<int>* getHandbrakeNonLinear(ERRORCODE& err);
1262 
1272 WIN_API ERRORCODE HandbrakeCalibrateStart();
1282 WIN_API ERRORCODE HandbrakeCalibrateFinish();
1294 WIN_API ERRORCODE setHandbrakeOutDir(int v);
1306 WIN_API ERRORCODE setHandbrakeApplicationMode(int v);
1318 WIN_API ERRORCODE setHandbrakeNonLinear(const std::vector<int>& v);
1319 
1320 //换挡器
1332 WIN_API int getHandingShifterAutoBlipOutput(ERRORCODE& err);
1344 WIN_API int getHandingShifterAutoBlipDuration(ERRORCODE& err);
1356 WIN_API int getHandingShifterAutoBlipSwitch(ERRORCODE& err);
1357 
1367 WIN_API ERRORCODE ShifterCalibrateStart();
1377 WIN_API ERRORCODE ShifterCalibrateFinish();
1389 WIN_API ERRORCODE setHandingShifterAutoBlipOutput(int v);
1401 WIN_API ERRORCODE setHandingShifterAutoBlipDuration(int v);
1413 WIN_API ERRORCODE setHandingShifterAutoBlipSwitch(int v);
1414 
1415 }
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
Definition: mozaAPI.h:18
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