X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Facess2.git;a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin4_src%2FCommon%2Finclude%2Fipc_proto.hpp;h=d9c71bd3b116bef0b00566ace52c513d36ab1696;hp=e47ed14da6c0656547ed5edf8e04faba09d78c7f;hb=6fbf6b93bec9b8b5bd6d7c683eefb0ebed8dff77;hpb=b5f8fa2dea9d6a67ac5c8a3a442ee4570deaa56c diff --git a/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp b/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp index e47ed14d..d9c71bd3 100644 --- a/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp +++ b/Usermode/Applications/axwin4_src/Common/include/ipc_proto.hpp @@ -33,6 +33,9 @@ enum 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 @@ -50,6 +53,13 @@ enum eIPC_WinAttrs 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