matos/drivers/keyboard.h
2021-11-06 00:13:40 +01:00

12 lines
241 B
C

#pragma once
// Pushing generate MAKE_CODE (<0x80)
// Releasing generate BREAK_CODE (break_code = make_code + 0x80)
#define BREAK_CODE 0x80
#define KEYBOARD_DATA_PORT 0x60
void keyboard_do_irq();
int keyboardSetup();
char keyboardRead();