mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-13 23:26:20 +00:00
Link DolphinIController.cpp, start matching CSmallAllocPool
Former-commit-id: 228319e2a5
This commit is contained in:
26
include/Kyoto/Input/CDolphinController.hpp
Normal file
26
include/Kyoto/Input/CDolphinController.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef __CDOLPHINCONTROLLER_HPP__
|
||||
#define __CDOLPHINCONTROLLER_HPP__
|
||||
|
||||
#include "Kyoto/Input/IController.hpp"
|
||||
|
||||
class CDolphinController : public IController {
|
||||
public:
|
||||
CDolphinController();
|
||||
void Poll();
|
||||
uint GetDeviceCount() const;
|
||||
CControllerGamepadData& GetGamepadData(int controller);
|
||||
u32 GetControllerType(int) const;
|
||||
void SetMotorState(EIOPort port, EMotorState state);
|
||||
bool Initialize();
|
||||
private:
|
||||
PADStatus x4_status[4];
|
||||
CControllerGamepadData x34_gamepadStates[4];
|
||||
EMotorState x194_motorStates[4];
|
||||
u32 x1a4_controllerTypes[4];
|
||||
u32 x1b4_controllerTypePollTime[4];
|
||||
u32 x1c4_;
|
||||
u32 x1c8_invalidControllers;
|
||||
u32 x1cc_;
|
||||
};
|
||||
|
||||
#endif // __CDOLPHINCONTROLLER_HPP__
|
||||
Reference in New Issue
Block a user