mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Adds prefix to mouse position response.
This commit is contained in:
parent
92847037b3
commit
0cb19421e8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user