Skip to content

Commit

Permalink
Fix wrong controller type for DualShock 3
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryOderNichts committed Jun 11, 2024
1 parent 565d9cd commit 3f7fcef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ios_pad/source/controllers/dualshock4_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void controllerInit_dualshock4(Controller* controller)
controller->additionalData = IOS_Alloc(LOCAL_PROCESS_HEAP_ID, sizeof(Dualshock4Data));
memset(controller->additionalData, 0, sizeof(Dualshock4Data));

controller->type = BLOOPAIR_CONTROLLER_DUALSHOCK3;
controller->type = BLOOPAIR_CONTROLLER_DUALSHOCK4;
Configuration_GetAll(controller->type, controller->bda,
&controller->commonConfig, &controller->mapping,
&controller->customConfig, &controller->customConfigSize);
Expand Down

0 comments on commit 3f7fcef

Please sign in to comment.