From 04f2fa566c02d3808b4abd84a28522a97623fbeb Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Sat, 22 Apr 2023 05:42:59 +0700 Subject: [PATCH] =?UTF-8?q?didn=E2=80=99t=20remove=20mouse=5F*=20from=20mM?= =?UTF-8?q?enuMappingList?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Fix: save prompt appears even though there is nothing changed) --- Natives/customcontrols/CustomControlsUtils.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Natives/customcontrols/CustomControlsUtils.m b/Natives/customcontrols/CustomControlsUtils.m index 49b838db04..750b7c1363 100644 --- a/Natives/customcontrols/CustomControlsUtils.m +++ b/Natives/customcontrols/CustomControlsUtils.m @@ -345,10 +345,6 @@ void generateAndSaveDefaultControlForGamepad() { dict[@"mMenuMappingList"] = [[NSMutableArray alloc] init]; - [dict[@"mMenuMappingList"] addObject:createGamepadButton(@"mouse_primary", SPECIALBTN_MOUSEPRI, SPECIALBTN_MOUSEPRI)]; - [dict[@"mMenuMappingList"] addObject:createGamepadButton(@"mouse_middle", SPECIALBTN_MOUSEMID, SPECIALBTN_MOUSEMID)]; - [dict[@"mMenuMappingList"] addObject:createGamepadButton(@"mouse_secondary", SPECIALBTN_MOUSESEC, SPECIALBTN_MOUSESEC)]; - [dict[@"mMenuMappingList"] addObject:createGamepadButton(@"bumper_left", GLFW_GAMEPAD_BUTTON_LEFT_BUMPER, SPECIALBTN_SCROLLUP)]; [dict[@"mMenuMappingList"] addObject:createGamepadButton(@"bumper_right", GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER, SPECIALBTN_SCROLLDOWN)];