diff --git a/src/userland/libc/input.h b/src/userland/libc/input.h new file mode 100644 index 0000000..3bd9c97 --- /dev/null +++ b/src/userland/libc/input.h @@ -0,0 +1,18 @@ +#ifndef INPUT_H +#define INPUT_H + +// Arrow keys +#define KEY_UP 17 +#define KEY_DOWN 18 +#define KEY_LEFT 19 +#define KEY_RIGHT 20 + +// controls +#define KEY_ENTER 10 +#define KEY_BACKSPACE 8 +#define KEY_ESCAPE 27 +#define KEY_SPACE 32 +#define KEY_ALT 22 +#define KEY_CTRL_L 21 +#define KEY_TAB 9 +