EmulatorArchive / uae-wii

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

Wavebird dpad support #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Wiiuae with wavebird controller
2. Analogue stick works for movement 
3. Dpad has no response

What is the expected output? What do you see instead?
Not sure if dpad supposed to work but it does not work for me

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

V11 for Wii
Please provide any additional information below.
Also would it be possible to customise the buttons on the wavebird via the 
config file? If already possible, any guidance on which part to modify? Many 
thanks.

Original issue reported on code.google.com by Azy7...@gmail.com on 27 Dec 2014 at 12:44

GoogleCodeExporter commented 9 years ago
You have to modify the last part of UAERC file.

The gamecube gamepad are mapped as joystick 4-7.

For instance input.1.joystick.4.button.0=JOY2_FIRE_BUTTON is for gamepad 1.

".0" means button A associated to Fire button. If you want button B you have to 
change to:

input.1.joystick.4.button.1=JOY2_FIRE_BUTTON

See here for the numbers associated to each button (SDL joystick button mapping)
http://wiibrew.org/wiki/SDL_Wii

For the DPAD try adding these ones:

input.1.joystick.4.axis.9=JOY2_HORIZ
input.1.joystick.4.axis.10=JOY2_VERT

Please let me know if it works

Original comment by olimpier...@gmail.com on 27 Dec 2014 at 6:09

GoogleCodeExporter commented 9 years ago
Sorry for the DPAD try adding these ones:

input.1.joystick.4.axis.6=JOY2_HORIZ
input.1.joystick.4.axis.7=JOY2_VERT

In the next release I want to insert them in the UAERC file.

Original comment by olimpier...@gmail.com on 27 Dec 2014 at 10:35

GoogleCodeExporter commented 9 years ago
Ok that works fine. I amended the 5 config files aswell and works fine on them 
aswell. Many thanks for your help in sorting this and all your hard work on 
this emulator. Have a great new year.

Original comment by Azy7...@gmail.com on 28 Dec 2014 at 12:59

GoogleCodeExporter commented 9 years ago
Nice to see it works.
Happy new year.

Original comment by olimpier...@gmail.com on 28 Dec 2014 at 9:13