Skip to content

Integrating Force Feedback

Lucas LucidVR edited this page Jan 14, 2022 · 9 revisions

If you have a public SteamVR game that you would like to integrate with the gloves, reach out to Lucas (LucidVR#0001) or Dan (danwillm#8254) 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 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 {
  short thumbCurl;
  short indexCurl;
  short middleCurl;
  short ringCurl;
  short pinkyCurl;
};

Clone this wiki locally