IPCMSG_BLIT, // (win, sx, sy, dx, dy, w, h) - Blit locally
IPCMSG_DRAWCTL, // (win, x, y, w, h, ctlid) - Draw
IPCMSG_DRAWTEXT, // (win, x, y, fontid, text) - Draw text using an internal font
+
+ // - Client-bound commands
+ IPCMSG_INPUTEVENT, // (u8 event, u16 win, ...)
};
enum eIPC_GlobalAttrs
IPC_WINATTR_TITLE, // string
};
+enum eIPC_InputEvents
+{
+ IPC_INEV_KEYBOARD, // (u16 keysym, u8 keydown, string text)
+ IPC_INEV_MOUSEBTN, // (u16 x, u16 y)
+ IPC_INEV_MOUSEMOVE, // (u16 x, u16 y, u8 btn, u8 btndown)
+};
+
};
#endif