toaruos/boot/kbd.h

14 lines
255 B
C
Raw Normal View History

2018-07-06 17:53:14 +03:00
#pragma once
2018-07-06 17:53:14 +03:00
#define KBD_SCAN_DOWN 0x50
#define KBD_SCAN_UP 0x48
#define KBD_SCAN_LEFT 0x4B
#define KBD_SCAN_RIGHT 0x4D
#define KBD_SCAN_ENTER 0x1C
#define KBD_SCAN_1 2
#define KBD_SCAN_9 10
2021-07-08 07:51:03 +03:00
int read_scancode(int);
2021-08-21 09:12:04 +03:00
int read_key(char * c);
2018-07-06 17:53:14 +03:00