Merge pull request #3098 from jgilje/stream_mode
add command 0xea - set stream mode
This commit is contained in:
@@ -191,6 +191,12 @@ ps2_write(uint8_t val, void *priv)
|
||||
keyboard_at_adddata_mouse(dev->sample_rate);
|
||||
break;
|
||||
|
||||
case 0xea: /* set stream */
|
||||
dev->flags &= ~FLAG_CTRLDAT;
|
||||
mouse_scan = 1;
|
||||
keyboard_at_adddata_mouse(0xfa); /* ACK for command byte */
|
||||
break;
|
||||
|
||||
case 0xeb: /* Get mouse data */
|
||||
keyboard_at_adddata_mouse(0xfa);
|
||||
|
||||
|
Reference in New Issue
Block a user