From 4e06648aa4b02532008d510fa5309c7f83b6017d Mon Sep 17 00:00:00 2001 From: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com> Date: Fri, 16 Aug 2024 23:26:51 +0200 Subject: [PATCH] Add missing switch controller name According to https://github.com/ndeadly/MissionControl/commit/2612b8867afe4603f6c57bf1b716d16709c35fce this name was added in Switch firmware 15.0.0 and is used by newer third party licensed controllers. This fixes support for the PDP Afterglow Wave and other newer third party controllers. --- ios/ios_pad/source/controllers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ios/ios_pad/source/controllers.c b/ios/ios_pad/source/controllers.c index d70300e..a3b755d 100644 --- a/ios/ios_pad/source/controllers.c +++ b/ios/ios_pad/source/controllers.c @@ -114,7 +114,8 @@ int isSwitchControllerName(const char* name) COMPARE_NAME("HVC Controller") || COMPARE_NAME("SNES Controller") || COMPARE_NAME("N64 Controller") || - COMPARE_NAME("MD/Gen Control Pad"); + COMPARE_NAME("MD/Gen Control Pad") || + COMPARE_NAME("Lic2 Pro Controller"); } #undef COMPARE_NAME