Add delay to keyboard AT reset response.

A few other keyboard / PS2 mouse fixes.
Based on patch from EluanCM.
This commit is contained in:
SarahW 2020-02-10 20:51:26 +00:00
commit 00f65675af
2 changed files with 23 additions and 3 deletions

View file

@ -123,6 +123,7 @@ void mouse_ps2_write(uint8_t val, void *p)
mouse->mode = MOUSE_STREAM;
mouse->flags = 0;
mouse->intellimouse_mode = 0;
mouse_queue_start = mouse_queue_end = 0;
keyboard_at_adddata_mouse(0xfa);
keyboard_at_adddata_mouse(0xaa);
keyboard_at_adddata_mouse(0x00);