MOZA Multi-Function Stalks not detected via SDK 1.0.1.8

Posted about 1 month ago by Aitor González

Post a topic
Answered
A
Aitor González

Hello,


We are integrating MOZA hardware using the official MOZA SDK (v1.0.1.8) and we are having trouble accessing the Multi-Function Stalks.


Our setup:

- MOZA Lamborghini Revuelto wheel

- MOZA mBooster Active Pedals

- MOZA Multi-Function Stalks


The wheel and pedals work correctly through the SDK. However, calling enumSwitchesDevices() always returns an empty list (err = NORMAL), and the stalks inputs are not visible in HIDData either. Pit House does detect and show the stalks correctly, so the device is properly connected.


We also noticed there is no PRODUCT_SWITCHES entry in the ProductType enum in enumCode.h, which suggests the stalks may not be supported in this SDK version.


Could you let us know:

1. Are the Multi-Function Stalks supported in SDK v1.0.1.8, or is support planned for a future version?

2. Is there an alternative way to read the stalk inputs through the SDK?

3. Is there a newer SDK version available that we may have missed?


Thank you.

0 Votes

Gudsen Support Support

Gudsen Support Support posted 18 days ago Admin Best Answer

Multi functional sticks are supported in SDK v1.0.1.8. This device uses an independent HID device interface and will not appear in the general HIDData structure. It is normal that there are no PRODUC_SWITCHES in the PRODUCTYPE enumeration, as enumSwitchesDevices() does not rely on this enumeration to identify multifunctional combination switches.

It is recommended to use getStateInfo() because it will merge HID input with the initial state of the switch obtained from Pit House. GetStateInfoByHid() only reads HID reports and can be used as a backup method, but it may not be able to obtain the initial positions of some switches before the user actually operates them.

The device list is empty but err==NORMAL is not the expected behavior. Please check the following items:

Confirm that the header file, import library, and MOZA_SDK.dll loaded at runtime all come from the same v1.0.1.8 SDK package and are consistent with the program architecture.

Use the example/switches_test.cc provided with the SDK for testing.

Confirm that the multifunctional combination switch has been directly connected to the computer.

Check if there is an old version of MOZA_SDK.dll in the program directory or DLL search path.

If the problem persists, please provide:

Multi functional combination switch firmware version and Pit House version

Windows version

Program architecture (x64 or x86)

Hardware ID/device instance path in Windows Device Manager, especially VID and PID

The example run result of switches_test included with SDK

0 Votes


1 Comments

Gudsen Support Support

Gudsen Support Support posted 18 days ago Admin Answer

Multi functional sticks are supported in SDK v1.0.1.8. This device uses an independent HID device interface and will not appear in the general HIDData structure. It is normal that there are no PRODUC_SWITCHES in the PRODUCTYPE enumeration, as enumSwitchesDevices() does not rely on this enumeration to identify multifunctional combination switches.

It is recommended to use getStateInfo() because it will merge HID input with the initial state of the switch obtained from Pit House. GetStateInfoByHid() only reads HID reports and can be used as a backup method, but it may not be able to obtain the initial positions of some switches before the user actually operates them.

The device list is empty but err==NORMAL is not the expected behavior. Please check the following items:

Confirm that the header file, import library, and MOZA_SDK.dll loaded at runtime all come from the same v1.0.1.8 SDK package and are consistent with the program architecture.

Use the example/switches_test.cc provided with the SDK for testing.

Confirm that the multifunctional combination switch has been directly connected to the computer.

Check if there is an old version of MOZA_SDK.dll in the program directory or DLL search path.

If the problem persists, please provide:

Multi functional combination switch firmware version and Pit House version

Windows version

Program architecture (x64 or x86)

Hardware ID/device instance path in Windows Device Manager, especially VID and PID

The example run result of switches_test included with SDK

0 Votes

Login or Sign up to post a comment