mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-15 10:48:38 +00:00
Add input.h
This commit is contained in:
parent
dd6cbf1fe0
commit
9b6297c917
1 changed files with 18 additions and 0 deletions
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
|
||||||
|
|
||||||
Loading…
Reference in a new issue