Buttons don't work or activate my event on Oculus quest 2 controllers

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Buttons to work.

  2. What is the issue? Whenever I click the A or X button, there’s no response (Y button provided ButtonSelect)

  3. What solutions have you tried so far? I’ve tried changing my key binding’s via SteamVR and I’ve also tried using the UserContextService.

I’m connected to SteamVR with Virtual Desktop but both aren’t really an issue, the issue lies upon Roblox, the A and X buttons don’t produce a signal to Roblox, as I tried printing the KeyCode. Using 2 of these buttons are vital to the game, I cannot stick with using only 4 triggers on my headset.

Here are both the things I tried:
contextService:BindAction("Grab", fireGrab, false, Enum.KeyCode.ButtonA)

if input.KeyCode == Enum.KeyCode.ButtonA then
	print("A")
end
2 Likes

The truth is that Roblox’s implementation of OpenVR is terrible, outdated, and missing a large number of compatibility features. You can’t even detect what type of controller the player is using. As far as I know, you’re better off submitting a feature request for them to overhaul the VR API.

4 Likes

Won’t let me even though I’m a regular

have You tried an another keycode?
I’ve made a few tries now its seem the ButtonA KeyCode doesn’t respond to anything.

Have you tried printing the button that you’re pressing as a KeyCode then applying that to your script?

I’ve tried printing the KeyCode, as well as the UserInputType, nothing appears whenever I click either one of those buttons. I guess its a compatibility issue

This is because Roblox isn’t using SteamVR’s Module instead of there own. This means virtual desktop binds will not work as expected.

There really is no client fix right now. That’s Roblox’s issue to fix.

2 Likes