matzman666 / OpenVR-InputEmulator

An OpenVR driver that allows to create virtual controllers, emulate controller input, manipulate poses of existing controllers and remap buttons. A client-side library that communicates with the driver via shared-memory is also included.
GNU General Public License v3.0
716 stars 137 forks source link

Input remapping to trigger on WMR doesn't seem to work #91

Open Greyman027 opened 6 years ago

Greyman027 commented 6 years ago

Hi, I'm trying to remap the grip button to Axis1 (trigger) on a Dell WMR headset, without success.

I can successfully remap the grip button to System, ApplicationMenu, etc; but when I remap to Axis1 absolutely nothing happens. I've run OpenVR-Inspector to check that the trigger buttons are coming through as Button33/Axis1 in the event log when I press them, but that's as far as my diagnostic ability with this goes.

Is there some workaround I can employ to get this to work?

meraklimaymun commented 6 years ago

No there isn't. Since the author doesn't have any WMR device, he can't implement any wmr related features. At least that's why I get by reading his readme. I also couldn't remap trackpad to joystick myself. He also doesn't seem to be active (last activity 2 months ago), lots of bugs but no fixes. So the project is kinda abandoned I take it which sucks.

Greyman027 commented 6 years ago

I get what you're saying, however..... the issue isn't with picking up the WMR-specific input, but with injecting the modified input to OpenVR. By the time it gets to that point any headset or controller specific logic should be out of the way.

Given that I've confirmed that the trigger input on the WMR controller comes through as Button33/Axis1, and that's what I'm remapping to, I'm at a loss to understand what's happening.

I'm curious if re-mapping grip-to-trigger currently works on Vive and/or Oculus. Is anyone monitoring this repo in a position to test that out and report back?