isle-portable/LEGO1/legoinputmanager.h

30 lines
589 B
C
Raw Normal View History

2023-04-27 22:19:39 -04:00
#ifndef LEGOINPUTMANAGER_H
#define LEGOINPUTMANAGER_H
#include "mxcore.h"
2023-04-27 22:19:39 -04:00
__declspec(dllexport) enum NotificationId
{
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
};
class LegoInputManager
{
public:
__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
char m_pad00[0x19C];
int m_joystickIndex;
char m_pad200[0x194];
MxBool m_useJoystick;
2023-04-27 22:19:39 -04:00
};
#endif // LEGOINPUTMANAGER_H