OpenVR2Key icon indicating copy to clipboard operation
OpenVR2Key copied to clipboard

Active keys blocked

Open MyteYT opened this issue 2 years ago • 15 comments

When I open SteamVR and launch OpenVR2Key from SteamVR, it says "OpenVR status: connected" "Current app ID: default" "Active keys: Blocked" and I don't know why it says default on Current app ID when for other people it's different image

MyteYT avatar Mar 01 '23 17:03 MyteYT

Current app ID says that when there is no game detected, which means any settings you do will be applied to the default profile. Are you running a scene application? That usually means a game or application that provides imagery for the headset.

Blocked usually means that you have the SteamVR dashboard open, that prevents the application from reading inputs, so there are no keys to show.

BOLL7708 avatar Mar 01 '23 17:03 BOLL7708

Whenever I go into a game (not in steamvr just on steam) the current app id shows and openvr status in connected and the active keys is unblocked but when press A for example (when in the game) it doesn't show on the active keys and they stay as unblocked

MyteYT avatar Mar 04 '23 10:03 MyteYT

  1. Which VR hardware are you using?
  2. Have you checked if there are binding for your controller?
  3. Which game are you trying to use this in?

BOLL7708 avatar Mar 04 '23 11:03 BOLL7708

Idk what hardware but I use the quest 2 Yes there are bindings Gorilla Tag

MyteYT avatar Mar 04 '23 12:03 MyteYT

I don't know what hardware but I use the quest 2 Yes there are bindings Gorilla Tag

MyteYT avatar Mar 04 '23 13:03 MyteYT

I don't know why you haven't answered other than not knowing the solution

MyteYT avatar Mar 04 '23 19:03 MyteYT

I found out how to make the active keys show but whenever I press A which is assigned to F9 and my soundboard is binded to F9 (so a sound plays), it doesn't play and also openvr2key keeps disappearing but when I check task manager it's running even though its not on the task bar or anywhere else to show.

MyteYT avatar Mar 05 '23 01:03 MyteYT

A Quest 2 is your VR hardware yeah. Look up the difference between hardware and software.

And I've been out of town over the weekend, thus I hadn't answered yet, I do try to have a life outside of the internet and code 😋

Does your soundboard need focus to work? This application does not set focus anywhere, it just triggers the keys as is, which means the applications you want to trigger needs to register global hotkeys. This means keys that can be pressed regardless of if the application window has focus or not. Make sure that is the case, otherwise it will be hard to make it work.

Not sure why it would keep vanishing, it has options to minimize to system tray, otherwise it will stay in the taskbar. What Windows version are you on? I have not tested this on 11 to see how it acts on there.

BOLL7708 avatar Mar 05 '23 15:03 BOLL7708

I'm on Windows 10 and the soundboard I use is called Soundpad

MyteYT avatar Mar 05 '23 19:03 MyteYT

Reading this documentation the hotkeys are supposed to be global.

  1. Are you doing this without the Steam dashboard open? Having it open will block input to this application?
  2. Does this hotkey work when pressing it on key keyboard?
  3. Do you see the key you bound show up in Active keys?
  4. Also try to open the dashboard once, then dismiss it again, and see if that makes any difference.

BOLL7708 avatar Mar 05 '23 20:03 BOLL7708

i cannot use it. It says Active key Unblocked and i tried to close and open my menu so manny times but it still did not work. And yes im trying it in a game. Im using SteamVR and still does nnot work.

VRslay avatar Mar 17 '23 14:03 VRslay

I dog-food this application and use it myself every VR session so I'm not sure what to go on without more information. As for you @VRslay, welcome, first off what VR hardware are you using and what bindings are set for OpenVR2Key in SteamVR?

BOLL7708 avatar Mar 17 '23 15:03 BOLL7708

It worked for me but that was only one time and I did the same thing I did before and it does not work anymore it still says unblocked

AngerIssues2 avatar Apr 03 '23 11:04 AngerIssues2

I found out how to make the active keys show but whenever I press A which is assigned to F9 and my soundboard is binded to F9 (so a sound plays), it doesn't play and also openvr2key keeps disappearing but when I check task manager it's running even though its not on the task bar or anywhere else to show.

how?

AngerIssues2 avatar Apr 03 '23 11:04 AngerIssues2

I found out how to make the active keys show but whenever I press A which is assigned to F9 and my soundboard is binded to F9 (so a sound plays), it doesn't play and also openvr2key keeps disappearing but when I check task manager it's running even though its not on the task bar or anywhere else to show.

how?

It finally worked for me and I know how to make it work. When you load steamvr it should open automatically, when you're in steamvr do not look at the desktop in your vr otherwise it will turn off and not work so go to your library (in steamvr) and play the game normally then when you're in the game, go to your pc and on openvr2key (DO NOT GO TO DESKTOP ON STEAMVR) bind the key you want so for example my "A" button is R14 but yours is probably R9 so scroll to it and bind it to for example "O", once you did that open soundpad or whatever software you're using and bind a sound to O. Now when you're in the game on you oculus just play normally and press the "A" button to play the sound. Hope this helped.

MyteYT avatar Apr 03 '23 14:04 MyteYT