2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CRUMBLEGENERATOR
|
|
|
|
#define _CRUMBLEGENERATOR
|
2022-08-13 02:48:34 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "Kyoto/Input/CRumbleVoice.hpp"
|
2022-10-05 00:16:03 +00:00
|
|
|
#include "Kyoto/Input/InputTypes.hpp"
|
2022-08-13 02:48:34 +00:00
|
|
|
|
|
|
|
class CRumbleGenerator {
|
|
|
|
private:
|
|
|
|
CRumbleVoice x0_voices[4];
|
2022-10-09 05:37:23 +00:00
|
|
|
float xc0_periodTime[4];
|
|
|
|
float xd0_onTime[4];
|
2022-08-13 02:48:34 +00:00
|
|
|
EMotorState xe0_commandArray[4];
|
|
|
|
bool xf0_24_disabled : 1;
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CRUMBLEGENERATOR
|