#ifndef PUT_H #define PUT_H #include enum put_event_type { PUT_EXPOSE, PUT_MOUSE_DOWN, PUT_MOUSE_UP, PUT_MOUSE_MOVE, PUT_KEY, PUT_SCROLL }; enum { PUT_MOD_SHIFT = 1 << 0, PUT_MOD_CTRL = 1 << 1, PUT_MOD_ALT = 1 << 2, PUT_MOD_SUPER = 1 << 3 }; struct put_event { enum put_event_type type; int x; int y; int dx; int dy; int key; uint32_t mods; }; #endif /* PUT_H */