Change displayed button values for joysticks/gamepads from actual to numerical range?

Tips, tactics, and general discussion for Evochron Legacy.

Change displayed button values for joysticks/gamepads from actual to numerical range?

Yes - Change displayed button values in the game to numerical range rather than actual range (ie 1-32).
5
83%
No - Continue to display actual button index values in the game (ie 0-31)
1
17%
 
Total votes: 6

User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Change displayed button values for joysticks/gamepads from actual to numerical range?

Post by Vice »

Currently, the game displays the actual index values for buttons (also used in the mapping/config files), which ranges from 0 up to the limit of buttons on a device. I'm considering changing the displayed number value by +1 to align with devices that indicate they start at 1 rather than 0 in their documentation (ie 1-32 range rather than the actual 0-31 range).

If such a change is applied, it will need to be made clear that anything done in configuration profiles/files will still need to use the actual index value, which will then be -1 from the displayed numerical value. Please vote in favor of or against such a change as you would prefer.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
User avatar
Marvin
Global Moderator
Global Moderator
Posts: 14373
Joined: Wed Mar 04, 2009 5:47 am
Location: Fallon-Reno

Re: Change displayed button values for joysticks/gamepads from actual to numerical range?

Post by Marvin »

:o It might be confusing since pilot profiles also start with zero. If you start from 1 in one situation, wouldn't you need to do so in all situations?
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Re: Change displayed button values for joysticks/gamepads from actual to numerical range?

Post by Vice »

That would actually be one of the chief reasons for making such a change in the first place, at least for values displayed to the player in the game. Such a change would line up displayed button values with what may be presented in documentation for a control device and mouse button values (which also use the 1-total numerical sequence). Externally, things would remain lined up with how DirectX/DInput/Windows sorts things, but internally it might be better for players to see consistent numerical sequencing of all buttons with what they might expect/prefer.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
User avatar
DaveK
Global Moderator
Global Moderator
Posts: 4161
Joined: Mon Apr 19, 2010 9:04 pm
Location: Leeds UK

Re: Change displayed button values for joysticks/gamepads from actual to numerical range?

Post by DaveK »

Are there any situations, like pilot filename and pilot slot number being different, that could cause confusion if the player needs to access the file? Or are you intending to make the pilot filenames start @ 1? :)
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Re: Change displayed button values for joysticks/gamepads from actual to numerical range?

Post by Vice »

No changes to any other systems or sequencing, this change would bring button values displayed in-game in line with how the pilot profile names are set up now (displayed starting at 1 in game, starting at index 0 in filename). I will update the custom control profile files to include more details on the differences between actual index values and displayed numerical values.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
User avatar
Marvin
Global Moderator
Global Moderator
Posts: 14373
Joined: Wed Mar 04, 2009 5:47 am
Location: Fallon-Reno

Re: Change displayed button values for joysticks/gamepads from actual to numerical range?

Post by Marvin »

I voted "yes" to keep the in-game numbering system consistent (although I don't actually know which button on my joystick corresponds to the in-game numbers).