Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard support? #3

Open
RobawesomeVR opened this issue Jun 15, 2018 · 10 comments
Open

Keyboard support? #3

RobawesomeVR opened this issue Jun 15, 2018 · 10 comments

Comments

@RobawesomeVR
Copy link

Works great with controllers! I really appreciate how easy you have made all of this!
I have a Delta 6 controller and a Mag II controller, both act as a keyboard. Could you add keyboard support, or maybe make a "Key2OpenVR" application?

As I have said before I am totally willing to make it worth your while and reimburse you for your time.

Thanks so much!

@mmorselli
Copy link
Owner

adding the keyboard support is relatively simple, I inserted it in my todo-list

Delta 6 looks very interesting, but it's sold-out since I know it exists. How strong is the recoil? Have you experienced tracking loss using a tracker on top of it?

@RobawesomeVR
Copy link
Author

Thanks for the quick response!
The Delta 6 has 2 types of recoil, a simple rumble effect when running off of AA batteries, and an actuator when plugged in to AC power. I am planning on buying a small AC battery pack if everything goes well. When plugged into AC power the recoil is very nice, more powerful than my PP Gun in fact.

Yes the tracker does float away when plugged into AC power at times. It has gotten better with the new firmware updates (not sure which version actually helped). Again if this project goes well I will buy/build a "shock absorber" for the tracker.
Did I say thank you?

@mmorselli
Copy link
Owner

I tried the PP Gun (standard, not the Vive version) and tracking loss was a real issue.

I bought and I'am still waiting for this GoPro gimbal mount to use with trackers

gooirc

@RobawesomeVR
Copy link
Author

I love my PP Gun! (Vive version) Logged a lot of time and it's been very faithful and accurate very, very few tracking issues. You can check out some of my gameplay on YouTube, RobawesomeVR. Smart idea buying the non-Vive version of the PP Gun, so much cheaper, and you don't have to worry about the Vive 2.0 (2018) trackers not communicating with peripherals via USB. I love the gimbal, I am searching on Amazon right now!

Thanks!

@mmorselli
Copy link
Owner

I released a new build with keyboard support. really not much tested, only a brief test emulating controller buttons, but it should work, you can try it out. Let me know if it works with Delta 6 or Mag II

I used it with this little finger-controller and a Vive Tracker in my wrist, emulating trigger and menu button ;-)

https://www.amazon.co.uk/dp/B0797KCH91/

immagine

@RobawesomeVR
Copy link
Author

Just got back in from vacation, I will check this out as soon as I can! Very cool discovery with the "ring" above! Thank you for all of your hard work!

@mmorselli
Copy link
Owner

mmorselli commented Aug 13, 2018

No more guns... Saber! 🗡

tracker-saber

https://www.amazon.it/gp/product/B074BMKVH5/

@artimage25
Copy link

Hi, I've been testing the interface and it works well to emulate the digital buttons. But when I want to emulate for example the trigger in a first person shooter like Onward, I see that the shot comes out late and does not go at the same speed as if you shot with the controller, if I try to shoot 4 shots in a row, with luck they come out 2 or 3 shots nothing more and with delay. I have an Htc Live and I have tried it with keyboard keys and joypad buttons. I also work with delay when I try to emulate the touchpad.
Greetings and thanks for your fantastic interface.

@mmorselli
Copy link
Owner

I've never tried with Onward, I'll take a look. With other shooters like Serious Sam I didn't notice any delays, did you try with other shooters?

With the latest release you can modify, in the [main] section of .ini, the value

unresponsiveness = 10

try with values below 10, like 0 or 1, and check if helps. CPU usage could increase a bit, but a potential delay is shortened

This program executes client_commandline.exe of OpenVR Input Emulator, in ordinary conditions should be very fast, but something could prevent it

let me know

@artimage25
Copy link

I have tried several games (onward, pavlov, practisim vr, hot dogs, horseshoes & hand grenades, etc) and in all it goes with delay.
For example, I have assigned the space key to the trigger:
trigger1 = 57
unresponsiveness = 0
If you try a semiautomatic pistol and shoot several quick shots you will see that it goes with delay and even some shots do not occur.
I have SteamVR v1527117754 Branch.
Thank you very much and greetings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants