Newer
Older
tree-os / src / include / message.h
@lukas lukas on 1 Jan 2022 229 bytes code cleanup: lists
#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