ValveSoftware / SteamVR-for-Linux

Issue tracker for the Linux port of SteamVR
917 stars 45 forks source link

[BUG] Haptics firing for inactive action sets #418

Open Techjar opened 3 years ago

Techjar commented 3 years ago

Describe the bug We have one action set with the right thumbpad (Index controllers) assigned as a scroll, and another with the right thumbpad assigned as a button. These two action sets are mutually exclusive in our code, but even when the one with the scroll binding is inactive, the controller still vibrates like a scroll binding when the right thumbpad is touched, although no scroll inputs are sent.

To Reproduce Steps to reproduce the behavior:

  1. Run an application with multiple mutually exclusive action sets
  2. Assign a scroll to the thumbpad in one, and a button to the thumbpad in the other
  3. Observe the described behavior

If you can set up and run Vivecraft, you can test this easily with our default bindings for Valve Index.

Expected behavior Haptics for inactive action sets should not be fired.

System Information (please complete the following information):

Screenshots I can get some screenshots of the binding config upon request.

Additional context The application in which we are experiencing this issue, as mentioned above, is Vivecraft, a VR mod for Minecraft. Sorry if the system information I filled in sucks, but this is a really bizarre issue that does not seem to be system-specific and happens to all of our Linux users.

Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" section in their replies.

Zamundaaa commented 3 years ago

Maybe related: https://github.com/ValveSoftware/SteamVR-for-Linux/issues/268