skyui-vr icon indicating copy to clipboard operation
skyui-vr copied to clipboard

Controller keybinding problem

Open WhiteFire-Sondergaard opened this issue 6 years ago • 5 comments

I'm having an issue with my controller setup (I prefer it over the sticks). It keeps double-pressing activate.

This brings up something though:

For controller users could you not allow the binding of Activate and Cancel? And have Cancel unbind? (typically A and B buttons respectively but they should be mapped to the events.)

WhiteFire-Sondergaard avatar Oct 22 '18 11:10 WhiteFire-Sondergaard

Hi there!

Can you clarify what you mean by “controller, I prefer it over the sticks” mean? What kind of controllers/HMD are you using? And what are the “sticks”? Are you saying you’re using a pc gamepad or xbox/ps controller?

Which screen are you on when you see activate being double pressed? Also, which button is “activate” for you?

Regarding key rebinds, it will probably be available in some way in version 1.5. Work is being done to intercept Input from VR controllers. To support this, the UI will also no longer hardcode keys and the actions they trigger.

This will take some time to arrive though.

Odie avatar Oct 22 '18 15:10 Odie

xbox controller, I have limited rooms so flailing my arms around to attack is ill advised. :) (A) is activate. The sticks I am referring to are the analog thumb joysticks. They also act as buttons, and the left one is mapped to something that activates the dropdown menu from the gear in the corner. At which point you can not escape and get into state where the dropdown is flickering on and off. gamepad.txt

That is the mappings, the code in question is 0x0040 which is mapped as follows:

// Main Gameplay																													(Vive----------------------)			(Oculus-------------------------------------)								(Windows MR----)												
Sneak					0x1d									0xff									0x0040						0xff					0xff			0xff									0xff								0xff		0xff		1	1	1	0	0	1	1	0	0	0x80

// Dialog Menu
Down					!0,Back									!0,Back								0x0040, 0x0002					0xff					0xff			0xff									0xff								0xff		0xff		0	0	0	0	0	0	0	0	0	0x8

WhiteFire-Sondergaard avatar Oct 24 '18 17:10 WhiteFire-Sondergaard

Thanks for the added details.

I’m still not very clear which screen you are on. Are you in the inventory menu, container menu, crafting menu, or the quest journal (pause menu).

When you hit the A button, what did you expect to have happen? But what happened instead? As an example, were you expecting to use a potion, but ended up using two instead?

Odie avatar Oct 24 '18 17:10 Odie

Are you talking about the small target info menu that appears when your hand (VR controller) targets or points at an item when you’re moving around in the game world?

I’m afraid that’s not being handled by Skyui-VR at all.

Odie avatar Oct 24 '18 17:10 Odie

not target info menu - it's in mod configuration menu, some mods have actions that can be triggered with a key stroke - you can click to remap the key stroke that triggers the action, but the MCM is reading triggers, this guy's gamepad button click, and the enter key on the keyboard as two (or more rapid clicks) so it sets the hotkey to the trigger, no way to assign another key.

dshero345 avatar Sep 18 '19 05:09 dshero345