diff --git a/ion/include/ion.h b/ion/include/ion.h index 03753242b..b81e0d9ff 100644 --- a/ion/include/ion.h +++ b/ion/include/ion.h @@ -1,8 +1,8 @@ #ifndef ION_ION_H #define ION_ION_H -#include #include +#include void ion_init(); @@ -11,6 +11,4 @@ void ion_display_off(); void ion_sleep(); -char ion_getchar(); - #endif diff --git a/ion/include/ion/keyboard.h b/ion/include/ion/keyboard.h new file mode 100644 index 000000000..9ea13dbc4 --- /dev/null +++ b/ion/include/ion/keyboard.h @@ -0,0 +1,17 @@ +#ifndef ION_KEYBOARD_H +#define ION_KEYBOARD_H + +#include + +typedef enum { + ION_KEY_1, + ION_KEY_2, + ION_KEY_PLUS, + ION_KEY_MINUS +} ion_key_t; + +bool ion_scankey(ion_key_t key); + +char ion_getchar(); + +#endif