summaryrefslogtreecommitdiff
path: root/src/dev/ps2/mouse.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/ps2/mouse.hh')
-rw-r--r--src/dev/ps2/mouse.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dev/ps2/mouse.hh b/src/dev/ps2/mouse.hh
index e0b4c5384..9150f3f8f 100644
--- a/src/dev/ps2/mouse.hh
+++ b/src/dev/ps2/mouse.hh
@@ -71,7 +71,6 @@ class PS2Mouse : public PS2Device
Resend = 0xFE,
Reset = 0xFF
};
- static const uint16_t NoCommand = (uint16_t)(-1);
BitUnion8(Status)
Bitfield<6> remote;
@@ -81,8 +80,6 @@ class PS2Mouse : public PS2Device
Bitfield<0> rightButton;
EndBitUnion(Status)
- uint16_t lastCommand;
-
Status status;
uint8_t resolution;
uint8_t sampleRate;
@@ -94,7 +91,7 @@ class PS2Mouse : public PS2Device
void unserialize(CheckpointIn &cp) override;
protected: // PS2Device
- void recv(uint8_t data) override;
+ bool recv(const std::vector<uint8_t> &data) override;
};
#endif // __DEV_PS2_MOUSE_hH__