|
The Pedigree Project 0.1
|
#include <Ps2MousePacket.h>
Collaboration diagram for Ps2MousePacketDecoder:Public Member Functions | |
| void | reset () |
| bool | feed (uint8_t byte, Ps2MousePacket &packet) |
Private Attributes | |
| uint8_t | m_Buffer [3] |
| size_t | m_BufferIndex |
Decodes the standard three-byte PS/2 mouse packet format.
Definition at line 21 of file Ps2MousePacket.h.
| Ps2MousePacketDecoder::Ps2MousePacketDecoder | ( | ) |
Definition at line 33 of file Ps2MousePacket.cc.
| bool Ps2MousePacketDecoder::feed | ( | uint8_t | byte, |
| Ps2MousePacket & | packet | ||
| ) |
Feeds one byte into the decoder.
Returns true when packet contains a complete decoded packet.
Definition at line 39 of file Ps2MousePacket.cc.
| void Ps2MousePacketDecoder::reset | ( | ) |
Definition at line 35 of file Ps2MousePacket.cc.
|
private |
Definition at line 35 of file Ps2MousePacket.h.
|
private |
Definition at line 36 of file Ps2MousePacket.h.