From bd77381c27ef5b61bf1c123efef3895b98a7a615 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sun, 26 May 2019 19:28:27 +0100 Subject: Proxy keypress from kernel to focused program --- os/main.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 os/main.h (limited to 'os/main.h') diff --git a/os/main.h b/os/main.h new file mode 100644 index 0000000..a632750 --- /dev/null +++ b/os/main.h @@ -0,0 +1,13 @@ +#ifndef MAIN_H +#define MAIN_H + +typedef struct +{ + char *name; + void (*keypress_handler)(unsigned char); +} Program_t; + +void os_start(); +void os_proxy_keypress(unsigned char key); + +#endif \ No newline at end of file -- cgit v1.2.3