mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
Add input.h
This commit is contained in:
18
src/userland/libc/input.h
Normal file
18
src/userland/libc/input.h
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user