ARM: PS2 encoding fix
Fixed Disable encoding and added SetDefaults. See http://wiki.osdev.org/Mouse_Input for encodings.
This commit is contained in:
parent
70d7d6cc7f
commit
e60b2ac706
2 changed files with 3 additions and 1 deletions
|
@ -212,6 +212,7 @@ Pl050::processCommand(uint8_t byte)
|
|||
// fall through
|
||||
case Disable:
|
||||
case Enable:
|
||||
case SetDefaults:
|
||||
rxQueue.push_back(Ack);
|
||||
break;
|
||||
case StatusRequest:
|
||||
|
|
|
@ -62,7 +62,8 @@ enum {
|
|||
Ack = 0xfa,
|
||||
SetRate = 0xf3,
|
||||
Enable = 0xf4,
|
||||
Disable = 0xf6,
|
||||
Disable = 0xf5,
|
||||
SetDefaults = 0xf6,
|
||||
KeyboardId = 0xab,
|
||||
TouchKitId = 0x0a,
|
||||
MouseId = 0x00,
|
||||
|
|
Loading…
Reference in a new issue