Fix input bugs on Steam Deck
Borrowed from https://github.com/shiiion/dolphin/pull/159
Fixes bugs noted in https://github.com/shiiion/dolphin/issues/158
Based on changes from https://github.com/dolphin-emu/dolphin/commit/c3b8aa1fe582d9798939a1975e559ad4a69c3f02
Unfortunately now we are running on a non-merged PR of primehack, and considering that this fix should ve tested there is no way we can implement it in 0.8.4b as it's an hotfix. We will merge everything in 0.9.0b when at least one of the two PRs is approved.
Thanks for the contribution, keeping it on hold for now.
I just updated retrodeck to the latest version, and the inputs after closing primehack are still messed up.
The structure has changed as Primehack has been outsourced, if we need to patch, we need to patch there, but first better to check if the newest update (if contains the needed fixes for differentiating Primehack from Dolphin) is already fixed.