diff --git a/README.md b/README.md index f9cd2a8..2f21169 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,9 @@ And that's basically it ## What devices are supported? ### Bases: 1. MOZA R3, R5, R9, R12, R16, R21 -2. VRS DirectForce Pro -3. ... +2. Cammus C5 +3. VRS DirectForce Pro +4. ... ## What works? 1. FFB (all effects from device descriptor) @@ -60,6 +61,9 @@ To unload module: **[Android App](https://play.google.com/store/apps/details?id=com.gudsen.mozapithouse)** +### Cammus +**[Android App](https://play.google.com/store/apps/details?id=com.cammus.simulator)** + ### VRS DirectForce Pro You can do it through VRS with Wine. You need to tweak Wine prefix for them. diff --git a/hid-ids.h b/hid-ids.h index 1e72152..eb8ad95 100644 --- a/hid-ids.h +++ b/hid-ids.h @@ -11,5 +11,7 @@ #define USB_VENDOR_ID_VRS 0x0483 #define USB_DEVICE_ID_VRS_DFP 0xa355 +#define USB_VENDOR_ID_CAMMUS 0x3416 +#define USB_DEVICE_ID_CAMMUS_C5 0x0301 #endif diff --git a/hid-pidff-wrapper.c b/hid-pidff-wrapper.c index f7dbb8e..f756b77 100644 --- a/hid-pidff-wrapper.c +++ b/hid-pidff-wrapper.c @@ -27,6 +27,8 @@ static const struct hid_device_id pidff_wheel_devices[] = { .driver_data = PIDFF_QUIRK_NO_DELAY_EFFECT | PIDFF_QUIRK_NO_STRICT_PID_CONTROL | PIDFF_QUIRK_NO_PID_PARAM_BLOCK_OFFSET }, + { HID_USB_DEVICE(USB_VENDOR_ID_CAMMUS, USB_DEVICE_ID_CAMMUS_C5), + .driver_data = PIDFF_QUIRK_NO_DELAY_EFFECT }, { } }; MODULE_DEVICE_TABLE(hid, pidff_wheel_devices);