bringelle/src/utils/8042.c
2021-04-09 10:29:23 +02:00

16 lines
252 B
C

#include "8042.h"
#include "framebuffer.h"
#include "asm.h"
DEFINE_AZERTY;
void _8042_keypress(){
u8 data;
do {
inb(0x64,data);
}
while((data&0x01) == 0);
inb(0x60,data);
if(data<0x80)
putchar(AZERTY[data]);
}