Files
2026-03-30 15:33:19 -06:00

26 lines
596 B
C++

#pragma once
#include <cstdint>
namespace Ship {
class GlobalSDLDeviceSettings {
public:
GlobalSDLDeviceSettings();
~GlobalSDLDeviceSettings();
int32_t GetStickAxisThresholdPercentage();
void SetStickAxisThresholdPercentage(int32_t stickAxisThresholdPercentage);
int32_t GetTriggerAxisThresholdPercentage();
void SetTriggerAxisThresholdPercentage(int32_t triggerAxisThresholdPercentage);
void SaveToConfig();
void EraseFromConfig();
private:
int32_t mStickAxisThresholdPercentage;
int32_t mTriggerAxisThresholdPercentage;
};
} // namespace Ship