22 #ifndef M4_PLATFORM_EVENTS_H 23 #define M4_PLATFORM_EVENTS_H 25 #include "common/queue.h" 26 #include "common/events.h" 27 #include "m4/m4_types.h" 49 _ME_doubleclick_release
62 uint16 ButtonState = 0;
63 uint16 CursorColumn = 0;
65 uint16 HorizontalMickeyCount = 0;
66 uint16 VerticalMickeyCount = 0;
72 uint16 &_mouseX = CursorColumn;
73 uint16 &_mouseY = CursorRow;
74 uint16 _oldX = 0xffff;
75 uint16 _oldY = 0xffff;
76 mausState _mouse_state = _MS_no_event;
77 uint32 _mouseStateEvent = 0;
78 uint32 _dclickTime = 0;
99 return ks.
keycode == Common::KEYCODE_LCTRL || ks.
keycode == Common::KEYCODE_RCTRL ||
100 ks.
keycode == Common::KEYCODE_LALT || ks.
keycode == Common::KEYCODE_RALT ||
101 ks.
keycode == Common::KEYCODE_LSHIFT || ks.
keycode == Common::KEYCODE_RSHIFT ||
102 ks.
keycode == Common::KEYCODE_MODE;
117 MouseEvent mouse_get_event();
122 bool util_kbd_check(int32 *parm1);
124 void clearMouseStateEvent() {
125 _mouseStateEvent = 0;
131 void delay(uint amount);
136 MouseEvent mouse_get_event();
137 bool util_kbd_check(int32 *parm1);
KeyCode keycode
Definition: keyboard.h:299
Definition: database.h:28
Definition: keyboard.h:294