metaforce/Runtime/Input/InputTypes.hpp

18 lines
319 B
C++
Raw Permalink Normal View History

2022-03-19 21:19:43 -07:00
#pragma once
2022-07-29 13:16:55 -07:00
#include <dolphin/pad.h>
2022-03-19 21:19:43 -07:00
namespace metaforce {
enum class EIOPort {
2022-07-29 13:16:55 -07:00
Player1 = PAD_CHAN0,
Player2 = PAD_CHAN1,
Player3 = PAD_CHAN2,
Player4 = PAD_CHAN3,
2022-03-19 21:19:43 -07:00
};
enum class EMotorState {
2022-07-29 13:16:55 -07:00
Stop = PAD_MOTOR_STOP,
Rumble = PAD_MOTOR_RUMBLE,
StopHard = PAD_MOTOR_STOP_HARD,
2022-03-19 21:19:43 -07:00
};
2022-07-29 13:16:55 -07:00
} // namespace metaforce