From 7d57d55414b57c8fa9580314eea592ed0e319836 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Sun, 19 Sep 2021 18:55:09 +0200 Subject: [PATCH] iOS build fix --- shell/apple/emulator-ios/emulator/ios_gamepad.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/apple/emulator-ios/emulator/ios_gamepad.h b/shell/apple/emulator-ios/emulator/ios_gamepad.h index 18f0484b6..c30b03b0f 100644 --- a/shell/apple/emulator-ios/emulator/ios_gamepad.h +++ b/shell/apple/emulator-ios/emulator/ios_gamepad.h @@ -97,7 +97,7 @@ public: set_button(DC_BTN_X, IOS_BTN_A); set_button(DC_BTN_Y, IOS_BTN_B); set_axis(DC_BTN_Z, IOS_AXIS_R2, true); - set_button(DC_DPAD2_LEFT, KEYCODE_BUTTON_L1); // L1 (Naomi button 7) + set_button(DC_DPAD2_LEFT, IOS_BTN_L1); // L1 (Naomi button 7) set_axis(DC_DPAD2_RIGHT, IOS_AXIS_L2, true); // L2 (Naomi button 8) } } @@ -108,9 +108,9 @@ public: set_button(DC_BTN_X, IOS_BTN_X); set_button(DC_BTN_Y, IOS_BTN_Y); set_axis(DC_AXIS_RT, IOS_AXIS_R2, true); - set_button(DC_BTN_C, KEYCODE_BUTTON_R1); + set_button(DC_BTN_C, IOS_BTN_R1); set_axis(DC_AXIS_LT, IOS_AXIS_L2, true); - set_button(DC_BTN_Z, KEYCODE_BUTTON_L1); + set_button(DC_BTN_Z, IOS_BTN_L1); } set_button(DC_DPAD_UP, IOS_BTN_UP); set_button(DC_DPAD_DOWN, IOS_BTN_DOWN);