Add input.h

This commit is contained in:
Lluciocc 2026-04-17 01:02:07 +02:00 committed by GitHub
parent dd6cbf1fe0
commit 9b6297c917
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

18
src/userland/libc/input.h Normal file
View file

@ -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