ARM: PS2 encoding fix

Fixed Disable encoding and added SetDefaults.
See http://wiki.osdev.org/Mouse_Input for encodings.
This commit is contained in:
Chander Sudanthi 2012-06-05 01:23:10 -04:00
parent 70d7d6cc7f
commit e60b2ac706
2 changed files with 3 additions and 1 deletions

View file

@ -212,6 +212,7 @@ Pl050::processCommand(uint8_t byte)
// fall through
case Disable:
case Enable:
case SetDefaults:
rxQueue.push_back(Ack);
break;
case StatusRequest:

View file

@ -62,7 +62,8 @@ enum {
Ack = 0xfa,
SetRate = 0xf3,
Enable = 0xf4,
Disable = 0xf6,
Disable = 0xf5,
SetDefaults = 0xf6,
KeyboardId = 0xab,
TouchKitId = 0x0a,
MouseId = 0x00,