Only read one byte from mouse on interrupt
This commit is contained in:
parent
99515c8690
commit
d3d6e6269a
@ -135,7 +135,7 @@ finish_packet:
|
|||||||
write_fs(mouse_pipe, 0, sizeof(packet), (uint8_t *)&packet);
|
write_fs(mouse_pipe, 0, sizeof(packet), (uint8_t *)&packet);
|
||||||
}
|
}
|
||||||
read_next:
|
read_next:
|
||||||
status = inportb(MOUSE_STATUS);
|
status = 0; // inportb(MOUSE_STATUS);
|
||||||
}
|
}
|
||||||
irq_ack(MOUSE_IRQ);
|
irq_ack(MOUSE_IRQ);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user