toaruos/boot/kbd.h
2021-07-08 13:51:03 +09:00

13 lines
231 B
C

#pragma once
#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
int read_scancode(int);