diff --git a/Xb2XInput/XboxController.cpp b/Xb2XInput/XboxController.cpp index 31b3e69..1caa884 100644 --- a/Xb2XInput/XboxController.cpp +++ b/Xb2XInput/XboxController.cpp @@ -713,6 +713,12 @@ void XboxController::VibrationEnabled(bool value) SetSetting("EnableVibration", value ? "true" : "false", ini_key_); } +void XboxController::RemapEnabled(bool value) +{ + settings_.remap_enabled = value; + SetSetting("RemapEnable", value ? "true" : "false", ini_key_); +} + void XboxController::SaveDeadzones() { // WritePrivateProfile can only write strings, bleh diff --git a/Xb2XInput/XboxController.hpp b/Xb2XInput/XboxController.hpp index 5e9d6ed..3239e41 100644 --- a/Xb2XInput/XboxController.hpp +++ b/Xb2XInput/XboxController.hpp @@ -140,7 +140,7 @@ class XboxController void VibrationEnabled(bool value); bool RemapEnabled() { return settings_.remap_enabled; } - void RemapEnabled(bool value) { settings_.remap_enabled = value; } + void RemapEnabled(bool value); const UserSettings& Settings() { return settings_; }