summaryrefslogtreecommitdiff
path: root/src/dev/ps2/keyboard.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/ps2/keyboard.hh')
-rw-r--r--src/dev/ps2/keyboard.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dev/ps2/keyboard.hh b/src/dev/ps2/keyboard.hh
index f5d83049f..33db1cc76 100644
--- a/src/dev/ps2/keyboard.hh
+++ b/src/dev/ps2/keyboard.hh
@@ -74,11 +74,8 @@ class PS2Keyboard : public PS2Device, VncKeyboard
Resend = 0xFE,
Reset = 0xFF
};
- static const uint16_t NoCommand = (uint16_t)(-1);
- uint16_t lastCommand;
-
/** is the shift key currently down */
bool shiftDown;
@@ -92,7 +89,7 @@ class PS2Keyboard : public PS2Device, VncKeyboard
void unserialize(CheckpointIn &cp) override;
protected: // PS2Device
- void recv(uint8_t data) override;
+ bool recv(const std::vector<uint8_t> &data) override;
public: // VncKeyboard
void keyPress(uint32_t key, bool down) override;