accept usbwheel for wheel on usb devices in config
This commit is contained in:
parent
145b4aed78
commit
c7c86adf94
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue