Controller support

3 replies [Last post]
YellowLion321
User offline. Last seen 1 year 1 week ago. Offline
Joined: 2019-12-08
Posts: 2

I have an XBOX One controller. Hedgewars does detect it and it does acknowledge that it is an XInput controller. However, in the settings menu for controlls the buttons of it are labelled not like on the controller, like for example "A", "B", "left trigger", "left analog stick up" etc., but as for example "Button 1", "Button 2", "Axis 6 Down" etc. Do I need to figure out which button is which myself or is there a "dictionary" available?
Also, I would appreciate being able to just simply press the button to set it and not being forced to scroll through the drop-down list.
Thank you in advance for help.

KoBeWi
KoBeWi's picture
User offline. Last seen 3 hours 29 min ago. Offline
Joined: 2010-12-25
Posts: 564

Quote:
Do I need to figure out which button is which myself or is there a "dictionary" available?
There is none. But you can post it here if you figure it out Wink Smiley

nemo
nemo's picture
User offline. Last seen 1 week 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

We were talking about using a little capture popup for people to type a key or other input event to record a pure action without any translation problems. Conveniently it'd avoid the long list issue too.

That has not (yet) happened.

Maybe you could help out with that Smile

As for xbox controller, totally unfamiliar with that myself, sorry.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

YellowLion321
User offline. Last seen 1 year 1 week ago. Offline
Joined: 2019-12-08
Posts: 2

Sorry for the very late response. Thank you for your replies.

I have attempted to create my own "dictionary" of that (based probably mostly on trial and error) but I cannot give any guarantee regarding its accuracy. It seems also to be incomplete.

Left stick left - Axis 1 Down
Left stick down - Axis 2 Up
Left stick right - Axis 1 Up
Left stick up - Axis 2 Down
Right analog stick right - Axis 4 Up
Right analog stick left - Axis 4 Down
Right analog stick down - Axis 5 Up
Right analog stick up - Axis 5 Down
Left analog stick press - Button 9
Right analog stick press - Button 10
Right analog stick press (also???) - Button 11
A - Button 1
B - Button 2
X - Button 3
Y - Button 4
LB - Button 5
RB - Button 6
Select - Button 7
Start - Button 8

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]