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;
|
ds->dev_subtype = SIMDEVTYPE_TACHOMETER;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (strcicmp(device_subtype, "Wheel") == 0)
|
if (strcicmp(device_subtype, "Wheel") == 0 || strcicmp(device_subtype, "UsbWheel") == 0)
|
||||||
{
|
{
|
||||||
ds->dev_subtype = SIMDEVTYPE_USBWHEEL;
|
ds->dev_subtype = SIMDEVTYPE_USBWHEEL;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue