Integrating Force Feedback - LucidVR/opengloves-driver GitHub Wiki

If you have a public SteamVR game and want help integrating force feedback, reach out to Lucas (@lucidvr) or Dan (@danwillm) on Discord.

Force Feedback can be sent to the driver via a Named Pipe. The pipe is active and ready to receive inputs for the duration of SteamVR (with the driver enabled) being active.

Whenever the application wishes to update Force Feedback for the glove, it should send a message to this pipe:
\\.\pipe\vrapplication\ffb\curl\<left/right>
where what is sent should be a struct containing these members, in this order:

struct VRFFBData {
  int16_t thumbCurl;
  int16_t indexCurl;
  int16_t middleCurl;
  int16_t ringCurl;
  int16_t pinkyCurl;
};

The values should range from 0-1000. 1000 represents force feedback that fully restricts a user's hand (making them unable to curl their finger at all) and 0 represents force feedback that doesn't restrict the hand at all (making them able to curl their finger fully).

⚠️ **GitHub.com Fallback** ⚠️