From 2dff9bbadc085641b685d0ab91ab1f8805fa60a4 Mon Sep 17 00:00:00 2001 From: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:21:16 +0100 Subject: [PATCH] Fix DualShock 4 controller type values --- koopair/source/Configuration.cpp | 4 ++-- loader/config.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koopair/source/Configuration.cpp b/koopair/source/Configuration.cpp index 3e0ca23..5d856a3 100644 --- a/koopair/source/Configuration.cpp +++ b/koopair/source/Configuration.cpp @@ -91,7 +91,7 @@ const std::map bloopairButtonNameValues = { const std::map bloopairControllerTypes = { { BLOOPAIR_CONTROLLER_DUALSENSE, "DualSense", }, { BLOOPAIR_CONTROLLER_DUALSHOCK3, "DualShock-3", }, - { BLOOPAIR_CONTROLLER_DUALSHOCK4, "DualShock-3", }, + { BLOOPAIR_CONTROLLER_DUALSHOCK4, "DualShock-4", }, { BLOOPAIR_CONTROLLER_SWITCH_GENERIC, "Switch-Generic", }, { BLOOPAIR_CONTROLLER_SWITCH_JOYCON_LEFT, "Switch-JoyCon-Left", }, { BLOOPAIR_CONTROLLER_SWITCH_JOYCON_RIGHT, "Switch-JoyCon-Right", }, @@ -104,7 +104,7 @@ const std::map bloopairControllerTypes = { const std::map bloopairControllerTypeValues = { { "DualSense", BLOOPAIR_CONTROLLER_DUALSENSE }, { "DualShock-3", BLOOPAIR_CONTROLLER_DUALSHOCK3 }, - { "DualShock-3", BLOOPAIR_CONTROLLER_DUALSHOCK4 }, + { "DualShock-4", BLOOPAIR_CONTROLLER_DUALSHOCK4 }, { "Switch-Generic", BLOOPAIR_CONTROLLER_SWITCH_GENERIC }, { "Switch-JoyCon-Left", BLOOPAIR_CONTROLLER_SWITCH_JOYCON_LEFT }, { "Switch-JoyCon-Right", BLOOPAIR_CONTROLLER_SWITCH_JOYCON_RIGHT }, diff --git a/loader/config.cpp b/loader/config.cpp index 5ef2302..51d1902 100644 --- a/loader/config.cpp +++ b/loader/config.cpp @@ -70,7 +70,7 @@ static const std::map bloopairButtonNameValues = { static const std::map bloopairControllerTypeValues = { { "DualSense", BLOOPAIR_CONTROLLER_DUALSENSE }, { "DualShock-3", BLOOPAIR_CONTROLLER_DUALSHOCK3 }, - { "DualShock-3", BLOOPAIR_CONTROLLER_DUALSHOCK4 }, + { "DualShock-4", BLOOPAIR_CONTROLLER_DUALSHOCK4 }, { "Switch-Generic", BLOOPAIR_CONTROLLER_SWITCH_GENERIC }, { "Switch-JoyCon-Left", BLOOPAIR_CONTROLLER_SWITCH_JOYCON_LEFT }, { "Switch-JoyCon-Right", BLOOPAIR_CONTROLLER_SWITCH_JOYCON_RIGHT },