Fivetonsofflax / opentyrian

Automatically exported from code.google.com/p/opentyrian
GNU General Public License v2.0
0 stars 0 forks source link

Default HAT values off #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Start game with a HAT game pad
2.  Load/Create game and go to joystick options
3.  Reset to defaults

What is the expected output? What do you see instead?
All HATs and axes should be reset to one direction per assignment. 
Instead, all assignments are made to one hat direction, causing menu
navigation problems.

What version of the product are you using? On what operating system?
Latest revision

Please provide any additional information below.
In joystick.c, on lines 341 and 342, the index is set to 0, when it should
be set to one, to set the HAT axes correctly.  The way it is, it's just
setting the joystick axes a second time.

Original issue reported on code.google.com by rhydonj@gmail.com on 14 Feb 2010 at 5:00

GoogleCodeExporter commented 9 years ago
fixed as of e31ba37169

Original comment by mindless...@gmail.com on 14 Feb 2010 at 6:39