d3xMachina / BetterJoy

Allows the Nintendo Switch Pro Controller, Joycons and SNES controller to be used with CEMU, Citra, Dolphin, Yuzu and as generic XInput
Other
72 stars 5 forks source link

[ENHANCEMENT] A/B X/Y quickswap option #15

Closed Crackhog closed 5 months ago

Crackhog commented 6 months ago

I would like to ask if it'd be possible to add some sort of quickswap option to quickly swap the A and B buttons as well as the X and Y buttons, as I have some games where one is better than the other (The games do not support proper remapping). Currently, the process is slightly tedious (Going into the tray menu, clicking on BetterJoy, checking the respective swap boxes in the options menu, waiting for BetterJoy to restart), and BetterJoy restarting causes problems with some programs, like DuckStation, where the connected controllers suddenly get assigned different ports.

It would be great if it was possible to assign a button on the controller that, when pressed, toggles the swap options automatically and, if possible, does so without restarting BetterJoy.

Since this is just a minor inconvenience, feel free to just close this issue if you don't want to implement this. I would greatly appreciate it, though.

d3xMachina commented 5 months ago

Sounds good to me. I will make changes so that BetterJoy doesn't need to be restarted when applying the config. Also I will add the possibility to temporary quickswap (toggled) the xy/ab buttons with a button press in the Remap panel. I will do it once I find the time.

Crackhog commented 5 months ago

Thank you for your great work. Take all the time you need

d3xMachina commented 5 months ago

Done as of 8.4.1