prime/include/MetroidPrime/CInputGenerator.hpp

29 lines
538 B
C++
Raw Normal View History

#ifndef _CINPUTGENERATOR_HPP
#define _CINPUTGENERATOR_HPP
#include "types.h"
2022-10-01 06:19:09 +00:00
#include "rstl/single_ptr.hpp"
#include "Kyoto/Input/IController.hpp"
class COsContext;
2022-10-01 06:19:09 +00:00
class IController;
class CInputGenerator {
public:
CInputGenerator(COsContext*, f32, f32);
2022-10-01 06:19:09 +00:00
IController* GetController() const { return x4_controller.get(); }
private:
2022-10-01 06:19:09 +00:00
COsContext* x0_context;
rstl::single_ptr< IController > x4_controller;
bool x8_connectedControllers[4];
f32 xc_leftDiv;
f32 x10_rightDiv;
};
2022-10-01 06:19:09 +00:00
CHECK_SIZEOF(CInputGenerator, 0x14)
2022-09-18 06:05:46 +00:00
#endif