mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Adds a dummy response for mouse interrogation.
This commit is contained in:
parent
e96386f572
commit
eae11cbf17
@ -202,6 +202,11 @@ class IntelligentKeyboard:
|
||||
}
|
||||
|
||||
void interrogate_mouse_position() {
|
||||
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);
|
||||
output_byte(0x00); // y motion: MSB, LSB
|
||||
output_byte(0x00);
|
||||
}
|
||||
|
||||
// MARK: - Joystick commands.
|
||||
|
Loading…
Reference in New Issue
Block a user