forked from libretro/RetroArch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: fixing controller duplication bug.
In this commit, I have disabled the pad-matching feature at ~L:218 in joypad_connection.c You can re-enable the functionality from there to experience the current issues. When I plug in a PS4 controller, the iohidmanager_hid_adapter is being overwritten by what I believe is a pad_controller struct within hidpad_ps4_init() The *data being passed to hidpad_ps4_init() is a struct iohidmanager_hid_adapter, but it's being de-referenced as a pad_connection I do not know what this function is intended to be doing - but it's certainly not this. This is likely an issue across most/all of the other connect_xxx.c files. I suspect this code was broken for a very long time, but went unnoticed because the thing it broke was already broken.
- Loading branch information
1 parent
96705f2
commit 7b87ab6
Showing
2 changed files
with
60 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters