isle-portable/LEGO1/legoinputmanager.h

37 lines
740 B
C
Raw Normal View History

2023-04-27 22:19:39 -04:00
#ifndef LEGOINPUTMANAGER_H
#define LEGOINPUTMANAGER_H
#include "mxpresenter.h"
enum NotificationId
2023-04-27 22:19:39 -04:00
{
2023-06-19 00:02:00 -04:00
NONE = 0,
KEYDOWN = 7,
MOUSEUP = 8,
MOUSEDOWN = 9,
MOUSEMOVE = 10,
TIMER = 15
2023-04-27 22:19:39 -04:00
};
// VTABLE 0x100d8760
// SIZE 0x338
class LegoInputManager : public MxPresenter
2023-04-27 22:19:39 -04:00
{
public:
LegoInputManager();
virtual ~LegoInputManager() override;
2023-04-27 22:19:39 -04:00
__declspec(dllexport) void QueueEvent(NotificationId id, unsigned char p2, long p3, long p4, unsigned char p5);
__declspec(dllexport) void Register(MxCore *);
__declspec(dllexport) void UnRegister(MxCore *);
2023-04-27 22:19:39 -04:00
virtual long Tickle() override; // vtable+0x8
char m_pad00[0x15c];
int m_joystickIndex;
char m_pad200[0x194];
MxBool m_useJoystick;
2023-04-27 22:19:39 -04:00
};
#endif // LEGOINPUTMANAGER_H