RMG-Input: implement octagonal input range

The implementation takes configured deadzone and range into account,
with 9% deadzone equating to the real N64 deadzone.
This commit is contained in:
JaxonWasTaken authored and Rosalie committed 2022-11-23 10:29:34 +01:00
1 parent 24eccb5489
commit e1180bc574
6 files changed
+109 -36

No files matched your search

@@ -923,7 +923,7 @@ void ControllerWidget::SaveDefaultSettings()
CoreSettingsSetValue(SettingsID::Input_DeviceName, section, std::string("Keyboard"));
CoreSettingsSetValue(SettingsID::Input_DeviceNum, section, -1);
CoreSettingsSetValue(SettingsID::Input_Range, section, 100);
CoreSettingsSetValue(SettingsID::Input_Deadzone, section, 15);
CoreSettingsSetValue(SettingsID::Input_Deadzone, section, 9);
CoreSettingsSetValue(SettingsID::Input_Pak, section, 0);
CoreSettingsSetValue(SettingsID::Input_RemoveDuplicateMappings, section, true);