#ifndef MESSAGE_H #define MESSAGE_H #include <stdint.h> enum MessageTypes { KEYBOARD_CHAR, KEYBOARD_STRING, TIMER_UPDATE, }; typedef struct { void *data; uint8_t type; uint32_t size; } Message; #endif