Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
InputCommon: Clean up how numeric settings are handled. #7936
Cleaned up how ControllerEmu's number settings are handled. Values are no longer accessed through array offsets and It's just way less hacky overall.
Numeric settings can now have decimal places and I've added units of measure to the UI: https://i.imgur.com/gJgoQXb.png
I've since renamed the Center/Width/Height settings to "Vertical Offset"/"Total Yaw"/"Total Pitch".
I've eliminated the hidden magic values of the IR cursor.
FYI: Clearing the number entry for any of these settings and hitting enter now loads the default value.
I've changed the Forward,Upright,Sideways Wii Remote radio buttons back into Upright and Sideways check boxes.