keyboard interrupt push scan code into a buffer,
while a process get scan code from this buffer.