r57zone / OpenVR-driver-for-DIY

OpenVR driver for DIY
GNU General Public License v3.0
130 stars 28 forks source link

How to port this code to input emulator #10

Open nazaroaversano opened 1 year ago

nazaroaversano commented 1 year ago

I compiled the input emulator fixed project (https://github.com/Louka3000/OpenVR-InputEmulator-Fixed) that uses opervr 1.0.11. It should be perfect for my needs, it creates a virtual controller and allows to move it giving command line. My problem is that It works for the movement but not for the pressure of buttons (I guess it is due the old open vr version). Your driver works perfectly about the buttons emulation, but has two limitation that i need your help to remove: 1) I can't move the camera in my application (I can use the real hmd if is possible to avoid the hmd emulation), 2) I need to put the controller in a certain position in order to give the input, can i do it with your driver?

Summarizing, I need the real helmet and two virtual controller in specific location that press buttons. Can you help me to realize it?

r57zone commented 1 year ago

This can be done using the driver https://github.com/r57zone/Half-Life-Alyx-novr , just disable the HMD in config and you will have a real HMD and virtual controllers emulated using a mouse and keyboard.

This way you can go through the half life of Alyx and just test it. If you're looking for good low cost controllers, the Razer Hydra is good at this, an updated driver is already available.

nazaroaversano commented 1 year ago

Thanks for you answer. I what clarify my needs: I need to create an automatic test for a vr application, so I need to put the (virtual) controller in a set of x,y,z positions and emulate a button pressing. I need to do that in a loop for several hours.

Can I do that with your driver instead to use keyboards and mouse?

Il Gio 13 Apr 2023, 20:24 Кладовая @.***> ha scritto:

This can be done using the driver https://github.com/r57zone/Half-Life-Alyx-novr , just disable the HMD in config and you will have a real HMD and virtual controllers emulated using a mouse and keyboard.

This way you can go through the half life of Alyx and just test it. If you're looking for good low cost controllers, the Razer Hydra is good at this, an updated driver is already available.

— Reply to this email directly, view it on GitHub https://github.com/r57zone/OpenVR-driver-for-DIY/issues/10#issuecomment-1507431582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFCYZ3DUBOJHKV57QBAJILXBBAFJANCNFSM6AAAAAAW5NQ7YU . You are receiving this because you authored the thread.Message ID: @.***>

r57zone commented 1 year ago

i think no, you need to write another driver for your tasks

nazaroaversano commented 1 year ago

Thanks, I will try that Il Gio 13 Apr 2023, 21:26 Кладовая @.***> ha scritto:

i think no, you need to write another driver for your tasks

— Reply to this email directly, view it on GitHub https://github.com/r57zone/OpenVR-driver-for-DIY/issues/10#issuecomment-1507500499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFCYZYGFP2FZLXVKUXKVB3XBBHP7ANCNFSM6AAAAAAW5NQ7YU . You are receiving this because you authored the thread.Message ID: @.***>