RFE: Provide a mapping to use wiimote as joystick device
Bug #621669 reported by
J. Félix Ontañón
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WiiCan |
Fix Released
|
Wishlist
|
J. Félix Ontañón |
Bug Description
Wiimote emulating joystick device should be a default mapping to play games because the wiimote it's a joystick.
A good joystick mapping for this should contain:
- Wiimote arrow pad as axis
- Wiimote A,B as main buttons
- Wiimote Home as start button
And probably the use of Nunchuck:
- Nunchuk stick as main joystick axis
- Nunchuk C,Z as secondary buttons
Changed in wiican: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think this could be a good mapping. I've tested it successfully with sdlmame.
I attach a .wii mapping package file for wiican 0.3 series.
# Gamepad axis 0 (analog)
Nunchuk.Stick.X = ABS_X
Nunchuk.Stick.Y = ABS_Y
# Gamepad axis 1 (absolute)
Wiimote.Dpad.X = ABS_HAT0X
Wiimote.Dpad.Y = ABS_HAT1X
# Main gamepad buttons
Wiimote.A = BTN_A
Wiimote.B = BTN_B
Nunchuk.C = BTN_C
Nunchuk.Z = BTN_X
# Other gamepad buttons
Wiimote.Home = BTN_START
Wiimote.Minus = BTN_SELECT
Wiimote.Plus = BTN_MODE
Wiimote.1 = BTN_Y
Wiimote.2 = BTN_Z