mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 19:39:24 +01:00
Revert Wii button mapping workaround
This commit is contained in:
parent
23be1855b5
commit
a2847afb9c
@ -155,9 +155,9 @@ void Prefs::SetupJoystickDefaults()
|
|||||||
|
|
||||||
/* Wiimote 2, Nunchuk Z, classic a, b as fire */
|
/* Wiimote 2, Nunchuk Z, classic a, b as fire */
|
||||||
this->JoystickButtons[3] = 0x50;
|
this->JoystickButtons[3] = 0x50;
|
||||||
// this->JoystickButtons[7] = 0x50;
|
this->JoystickButtons[7] = 0x50;
|
||||||
// this->JoystickButtons[9] = 0x50;
|
this->JoystickButtons[9] = 0x50;
|
||||||
// this->JoystickButtons[10] = 0x50;
|
this->JoystickButtons[10] = 0x50;
|
||||||
|
|
||||||
this->MenuJoystickButtons[3] = KEY_SELECT;
|
this->MenuJoystickButtons[3] = KEY_SELECT;
|
||||||
this->MenuJoystickButtons[7] = KEY_SELECT;
|
this->MenuJoystickButtons[7] = KEY_SELECT;
|
||||||
@ -173,26 +173,26 @@ void Prefs::SetupJoystickDefaults()
|
|||||||
/* +/- as 1 and 2 */
|
/* +/- as 1 and 2 */
|
||||||
this->JoystickButtons[4] = (7 << 3) | 0;
|
this->JoystickButtons[4] = (7 << 3) | 0;
|
||||||
this->JoystickButtons[5] = (7 << 3) | 3;
|
this->JoystickButtons[5] = (7 << 3) | 3;
|
||||||
// this->JoystickButtons[17] = (7 << 3) | 0;
|
this->JoystickButtons[17] = (7 << 3) | 0;
|
||||||
// this->JoystickButtons[18] = (7 << 3) | 3;
|
this->JoystickButtons[18] = (7 << 3) | 3;
|
||||||
|
|
||||||
/* Wiimote B, Nunchuk C, Classic Zr, Zl as space */
|
/* Wiimote B, Nunchuk C, Classic Zr, Zl as space */
|
||||||
this->JoystickButtons[1] = (7 << 3) | 4;
|
this->JoystickButtons[1] = (7 << 3) | 4;
|
||||||
// this->JoystickButtons[8] = (7 << 3) | 4;
|
this->JoystickButtons[8] = (7 << 3) | 4;
|
||||||
// this->JoystickButtons[15] = (7 << 3) | 4;
|
this->JoystickButtons[15] = (7 << 3) | 4;
|
||||||
// this->JoystickButtons[16] = (7 << 3) | 4;
|
this->JoystickButtons[16] = (7 << 3) | 4;
|
||||||
|
|
||||||
/* Wiimote A and Classic L as F1 */
|
/* Wiimote A and Classic L as F1 */
|
||||||
this->JoystickButtons[0] = (0 << 3) | 4;
|
this->JoystickButtons[0] = (0 << 3) | 4;
|
||||||
// this->JoystickButtons[13] = (0 << 3) | 4;
|
this->JoystickButtons[13] = (0 << 3) | 4;
|
||||||
|
|
||||||
/* Classic R as F3 */
|
/* Classic R as F3 */
|
||||||
this->JoystickButtons[16] = (0 << 3) | 5;
|
this->JoystickButtons[16] = (0 << 3) | 5;
|
||||||
|
|
||||||
/* Wiimote 1 as R/S, classic X/Y */
|
/* Wiimote 1 as R/S, classic X/Y */
|
||||||
this->JoystickButtons[2] = (7 << 3) | 7;
|
this->JoystickButtons[2] = (7 << 3) | 7;
|
||||||
// this->JoystickButtons[11] = (7 << 3) | 7;
|
this->JoystickButtons[11] = (7 << 3) | 7;
|
||||||
// this->JoystickButtons[12] = (7 << 3) | 7;
|
this->JoystickButtons[12] = (7 << 3) | 7;
|
||||||
|
|
||||||
/* Wiimote 1, classic x, y as menu escape */
|
/* Wiimote 1, classic x, y as menu escape */
|
||||||
this->MenuJoystickButtons[2] = KEY_ESCAPE;
|
this->MenuJoystickButtons[2] = KEY_ESCAPE;
|
||||||
|
Loading…
Reference in New Issue
Block a user