mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 11:26:09 +00:00
Fix input not working properly
This commit is contained in:
@@ -10,13 +10,13 @@ enum class EJoyAxis {
|
||||
};
|
||||
|
||||
class CControllerAxis {
|
||||
float x0_absolute = 0.f;
|
||||
float x4_relative = 0.f;
|
||||
float x0_relative = 0.f;
|
||||
float x4_absolute = 0.f;
|
||||
|
||||
public:
|
||||
void SetRelativeValue(float val) { x0_absolute = val; }
|
||||
float GetRelativeValue() const { return x0_absolute; }
|
||||
void SetAbsoluteValue(float val) { x4_relative = val; }
|
||||
float GetAbsoluteValue() const { return x4_relative; }
|
||||
void SetRelativeValue(float val) { x0_relative = val; }
|
||||
float GetRelativeValue() const { return x0_relative; }
|
||||
void SetAbsoluteValue(float val) { x4_absolute = val; }
|
||||
float GetAbsoluteValue() const { return x4_absolute; }
|
||||
};
|
||||
} // namespace metaforce
|
||||
Reference in New Issue
Block a user