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
79 stars 6 forks source link

[ENHANCEMENT] Saved Setting for Default Controller Orientation on App Startup - JoyCons #22

Closed VeloTheHero closed 4 months ago

VeloTheHero commented 4 months ago

Hi, greatly appreciate this fork.

I currently use this application to process my JoyCon controller inputs because this application correctly interprets the joystick as a stick and not a DPAD. I always hold my JoyCons vertically because I have them mapped to use as single-handed controllers via JoyToKey. There is no current setting to set the default orientation of controllers on application startup.

In the BetterJoy.dll.config file settings or remap section of a controller, a true/false option or a checkbox/switch for saving the default controller orientation to vertical would be appreciated.

Thank you very much, Velo

d3xMachina commented 4 months ago

Use the config option "DoNotRejoinJoycons" to have the controllers in vertical mode on startup.

VeloTheHero commented 4 months ago

Use the config option "DoNotRejoinJoycons" to have the controllers in vertical mode on startup.

Updated the following: <add key="DoNotRejoinJoycons" value="true" />

I don't seem to notice any difference, as it still starts up in the horizontal orientation. I only have the left joycon connected. I am still able to manually switch the orientation to vertical, but setting the above did not automatically start the application with the controller in the vertical orientation:

Let me know your thoughts, happy to further test.

d3xMachina commented 4 months ago

Try the latest build : BetterJoy.zip

Set DoNotRejoinJoycons to "vertical".

VeloTheHero commented 4 months ago

Can confirm it works as intended! Thank you!