accept usbwheel for wheel on usb devices in config

This commit is contained in:
Paul Dino Jones 2025-06-16 13:02:34 -04:00
parent 145b4aed78
commit c7c86adf94
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ int strtodevsubtype(const char* device_subtype, DeviceSettings* ds, int simdev)
ds->dev_subtype = SIMDEVTYPE_TACHOMETER;
break;
}
if (strcicmp(device_subtype, "Wheel") == 0)
if (strcicmp(device_subtype, "Wheel") == 0 || strcicmp(device_subtype, "UsbWheel") == 0)
{
ds->dev_subtype = SIMDEVTYPE_USBWHEEL;
break;