hh79 / gzdoomvr

Classic Doom/Heretic/Hexen games in stereo 3D and VR; modified version of gzdoom.
GNU General Public License v3.0
125 stars 10 forks source link

controls not right with valve index #34

Open ContraVania opened 3 years ago

ContraVania commented 3 years ago

It seems like when i try to set up the controls from the menu, it gives them names it might give an xbox controller's buttons. It uses button names like Pad_Start, Pad_Back, Pad_A, Pad_X, Pad_Y, LShoulder, LTrigger. But I am using a valve index controller. I am not bothered by the names used, but I wonder if this is why I can't get it to work well. When I assign attack/fire to my right knuckle controller's A button, the button is labeled as RShoulder on the game, and so when I press my A button it will fire, but it also causes me to fire when I squeeze the right controller. I was playing Heretic and whenever I press up on my right thumb stick I walk forward correctly, but it also activates my flying item if I have one. I cleared out all the bindings to prevent buttons having multiple functions but I still think this gzdoom port is needing some fix for knuckle controllers.

Also, I can't assign a button to the thumb stick when it is clicked down, because whenever I press the thumb stick in a direction it behaves as though I am clicking it in. I tested my knuckle controller with Steam's software and it shows that I can move the thumb stick all around without the clicking function being activated so this should not be a problem with my controller.

hh79 commented 3 years ago

Please check bindings for Index proposed in https://github.com/hh79/gzdoomvr/issues/5.

ContraVania commented 3 years ago

Regarding TIE-Interceptor's post, I think he gave directions based on older SteamVR software or something. I have to have the game running to edit the bindings using SteamVR, and I can save my settings to the workshop but it does not give me the option to search the workshop or load any other custom bindings. I thought I could search for the gzdoom bindings on the web page at https://steamcommunity.com/workshop/browse/?appid=250820&searchtext=&childpublishedfileid=0&browsesort=textsearch&section=readytouseitems but I got no results. I will instead play with keyboard and mouse since I don't think the given solution would make the thumb stick clicks be bindable and without that option I wont have enough buttons for Heretic. But thanks for replying so soon. :)

codeflorist commented 1 year ago

Check out the Community Binding "Index Controller Bindings" by gameflorist in SteamVR. It makes the maximum buttons available for binding in GZDoom. The A buttons and grip will be mappable independently. It also removes the "Use as Button" from thumbsticks to avoid firing click-events on moving sticks, which is exactly the problem with flying/walking you describe.

AtomicBlastPony commented 1 year ago

Check out the Community Binding "Index Controller Bindings" by gameflorist in SteamVR. It makes the maximum buttons available for binding in GZDoom. The A buttons and grip will be mappable independently. It also removes the "Use as Button" from thumbsticks to avoid firing click-events on moving sticks, which is exactly the problem with flying/walking you describe.

GZDoomVR is not on Steam, so you can't see community bindings that aren't yours.

codeflorist commented 1 year ago

GZDoomVR is not on Steam, so you can't see community bindings that aren't yours.

hmm, dunno about that. i can see a different community binding by ObeseCatLord. maybe steam matches community bindings with the running .exe file?

but for all that don't see my bindings, here's the changes i made: