matos/drivers/keyboard.h

12 lines
241 B
C
Raw Permalink Normal View History

2018-07-20 15:41:58 +02:00
#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
2018-07-20 15:41:58 +02:00
void keyboard_do_irq();
2021-11-06 00:13:40 +01:00
int keyboardSetup();
char keyboardRead();