mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-19 05:31:32 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
29 lines
558 B
C++
29 lines
558 B
C++
#ifndef _CINPUTGENERATOR
|
|
#define _CINPUTGENERATOR
|
|
|
|
#include "types.h"
|
|
|
|
#include "rstl/single_ptr.hpp"
|
|
|
|
#include "Kyoto/Input/IController.hpp"
|
|
|
|
class COsContext;
|
|
class IController;
|
|
|
|
class CInputGenerator {
|
|
public:
|
|
CInputGenerator(COsContext*, float, float);
|
|
|
|
IController* GetController() const { return x4_controller.get(); }
|
|
|
|
private:
|
|
COsContext* x0_context;
|
|
rstl::single_ptr< IController > x4_controller;
|
|
bool x8_connectedControllers[4];
|
|
float xc_leftDiv;
|
|
float x10_rightDiv;
|
|
};
|
|
CHECK_SIZEOF(CInputGenerator, 0x14)
|
|
|
|
#endif // _CINPUTGENERATOR
|