Only read one byte from mouse on interrupt

This commit is contained in:
Kevin Lange 2017-01-19 08:45:46 +09:00
parent 99515c8690
commit d3d6e6269a

View File

@ -135,7 +135,7 @@ finish_packet:
write_fs(mouse_pipe, 0, sizeof(packet), (uint8_t *)&packet);
}
read_next:
status = inportb(MOUSE_STATUS);
status = 0; // inportb(MOUSE_STATUS);
}
irq_ack(MOUSE_IRQ);
return 1;