dagon
class ScriptedEvents
since 0.1.0-alpha.1linux
- bases
IEventSource
Fields
queue_
Methods
drain
drain(Block out, int maxRecords) -> intkeyDown
keyDown(int win, KeyCode code, int scancode, int mods, bool repeat) -> ScriptedEventskeyUp
keyUp(int win, KeyCode code, int scancode, int mods) -> ScriptedEventsmouseButton
mouseButton(int win, bool down, int sdlButton, int x, int y, int clicks, int mods) -> ScriptedEventsmouseMove
mouseMove(int win, int x, int y, int buttonsMask) -> ScriptedEventspending
pending() -> intpushRecord
pushRecord(int type, int win, int f2, int f3, int f4, int f5, int f6, int f7) -> voidquit
quit() -> ScriptedEventsraw
raw(int type, int win, int f2, int f3, int f4, int f5, int f6, int f7) -> ScriptedEventstext
text(int win, string s) -> ScriptedEventswheel
wheel(int win, float dx, float dy, int x, int y) -> ScriptedEventswindowEvent
windowEvent(int win, WindowEventKind k, int w, int h) -> ScriptedEvents