1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Adds prefix to mouse position response.

This commit is contained in:
Thomas Harte 2019-10-27 21:46:03 -04:00
parent 92847037b3
commit 0cb19421e8

View File

@ -205,6 +205,7 @@ class IntelligentKeyboard:
}
void interrogate_mouse_position() {
output_byte(0xf7); // Beginning of mouse response.
output_byte(0x00); // 0000dcba; a = right button down since last interrogation, b = right button up since, c/d = left button.
output_byte(0x00); // x motion: MSB, LSB
output_byte(0x00);