mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-09 21:07:41 +00:00
More defs for CStateManagerContainer & friends
This commit is contained in:
23
include/Kyoto/Input/CRumbleGenerator.hpp
Normal file
23
include/Kyoto/Input/CRumbleGenerator.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef _CRUMBLEGENERATOR_HPP
|
||||
#define _CRUMBLEGENERATOR_HPP
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#include "Kyoto/Input/CRumbleVoice.hpp"
|
||||
|
||||
enum EMotorState {
|
||||
kMS_Stop, // = PAD_MOTOR_STOP,
|
||||
kMS_Rumble, // = PAD_MOTOR_RUMBLE,
|
||||
kMS_StopHard, // = PAD_MOTOR_STOP_HARD,
|
||||
};
|
||||
|
||||
class CRumbleGenerator {
|
||||
private:
|
||||
CRumbleVoice x0_voices[4];
|
||||
f32 xc0_periodTime[4];
|
||||
f32 xd0_onTime[4];
|
||||
EMotorState xe0_commandArray[4];
|
||||
bool xf0_24_disabled : 1;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user