2022-09-11 18:45:19 +00:00
|
|
|
#ifndef __CCONTROLLERAXIS_HPP__
|
|
|
|
#define __CCONTROLLERAXIS_HPP__
|
|
|
|
|
|
|
|
class CControllerAxis {
|
|
|
|
public:
|
|
|
|
CControllerAxis() : x0_relative(0.f), x4_absolute(0.f) {}
|
|
|
|
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; }
|
2022-09-18 06:05:46 +00:00
|
|
|
|
2022-09-11 18:45:19 +00:00
|
|
|
public:
|
|
|
|
float x0_relative;
|
|
|
|
float x4_absolute;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __CCONTROLLERAXIS_HPP__
|