diff --git a/README.md b/README.md index 55dbf06..b4b4809 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ That driver allows most DirectDrive wheelbases to initialize and work. Most of the DirectDrive wheelbases are basically DirectInput wheels, but with some caveats, which Windows allows, but pidff doesn't. In that repository - pidff driver with some changes, which allows most of the DirectDrive wheelbases to work. -1. Added quirks for better initialization rules for different wheelbases (MOZA, VRS, Cammus) +1. Added multiple quirks for better initialization rules for different wheelbases (MOZA, VRS, Cammus) 2. Fixes for infinite-length effects 3. Fixes for out-of-bounds values (no more spam in kernel logs) @@ -16,7 +16,8 @@ And that's basically it ## What devices are supported? ### Bases: 1. MOZA R3, R5, R9, R12, R16, R21 -2. ... +2. VRS DirectForce Pro +3. ... ## What works? 1. FFB (all effects from device descriptor) @@ -53,13 +54,41 @@ To remove module: To unload module: `sudo rmmod hid_universal_ff` -## How to set up a base parameters? +## How to set up a wheelbase parameters (max rotation degree, max power, filters, etc)? ### MOZA **[Boxflat](https://github.com/Lawstorant/boxflat)** is a Linux Pit House alternative made by [@Lawstorant](https://github.com/Lawstorant) **[Android App](https://play.google.com/store/apps/details?id=com.gudsen.mozapithouse)** +### VRS DirectForce Pro +You can do it through VRS with Wine. You need to tweak Wine prefix for them. + +That soft uses hidraw to set up a base. You need to create `udev` rule for allow access to hidraw device: +``` +echo 'KERNEL=="hidraw*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a355", MODE="0666", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/11-vrs.rules + +udevadm control --reload-rules && udevadm trigger +``` + +Then you need to force VRS soft to use hidraw, not SDL, to find devices: +1. Create new Wine prefix for them: + + `mkdir ~/vrs-wine` +2. Launch regedit in prefix: + + `WINEPREFIX=$HOME/vrs-wine wine regedit` +3. Create two keys in + `HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\winebus`: + + * `DisableInput` (DWORD) - set to `1`; + * `Enable SDL` (DWORD) - set to `0`; (yes, variable name contains space) +4. Now you can launch soft through that WINEPREFIX: + + `WINEPREFIX=$HOME/vrs-wine wine VRS.exe` - launch your soft from installation directory. + + ## Known issues with the driver +### MOZA - Buttons above 80 simply don't show up. This is a Linux limitation and we're trying to fix that in the upstream ## Known issues with the firmware