mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 00:57:00 +00:00
Link DolphinIController.cpp, start matching CSmallAllocPool
Former-commit-id: 228319e2a5
This commit is contained in:
16
include/Kyoto/Input/CControllerAxis.hpp
Normal file
16
include/Kyoto/Input/CControllerAxis.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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; }
|
||||
public:
|
||||
float x0_relative;
|
||||
float x4_absolute;
|
||||
};
|
||||
|
||||
#endif // __CCONTROLLERAXIS_HPP__
|
||||
Reference in New Issue
Block a user