mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-18 01:30:56 +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() {
|
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.
|
// MARK: - Joystick commands.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user