Skip to content

Commit

Permalink
Fix DualShock 4 controller type values
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryOderNichts committed Dec 23, 2024
1 parent 5405ce6 commit 2dff9bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions koopair/source/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const std::map<std::string, uint32_t> bloopairButtonNameValues = {
const std::map<BloopairControllerType, std::string> 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", },
Expand All @@ -104,7 +104,7 @@ const std::map<BloopairControllerType, std::string> bloopairControllerTypes = {
const std::map<std::string, BloopairControllerType> 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 },
Expand Down
2 changes: 1 addition & 1 deletion loader/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static const std::map<std::string, uint32_t> bloopairButtonNameValues = {
static const std::map<std::string, BloopairControllerType> 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 },
Expand Down

0 comments on commit 2dff9bb

Please sign in to comment.