mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-29 05:54:17 +01:00
Correct wiimote escape button (1) in the menu
This commit is contained in:
parent
22ac10ec91
commit
81b2fe4d50
@ -705,7 +705,7 @@ uint32_t menu_wait_key_press(void)
|
|||||||
SDL_JoystickGetButton(joy, 9) != 0 || /* CA */
|
SDL_JoystickGetButton(joy, 9) != 0 || /* CA */
|
||||||
SDL_JoystickGetButton(joy, 10) != 0) /* CB */
|
SDL_JoystickGetButton(joy, 10) != 0) /* CB */
|
||||||
keys |= KEY_SELECT;
|
keys |= KEY_SELECT;
|
||||||
if (SDL_JoystickGetButton(joy, 0) != 0 || /* 1 */
|
if (SDL_JoystickGetButton(joy, 2) != 0 || /* 1 */
|
||||||
SDL_JoystickGetButton(joy, 11) != 0 || /* CX */
|
SDL_JoystickGetButton(joy, 11) != 0 || /* CX */
|
||||||
SDL_JoystickGetButton(joy, 12) != 0) /* CY */
|
SDL_JoystickGetButton(joy, 12) != 0) /* CY */
|
||||||
keys |= KEY_ESCAPE;
|
keys |= KEY_ESCAPE;
|
||||||
|
Loading…
Reference in New Issue
Block a user