void noResponse(ps2::KeyboardOutput expectedScanCode)
Definition: ps2_NullDiagnostics.h:49
void packetDidNotEndWithOne()
Definition: ps2_NullDiagnostics.h:39
void parityError()
Definition: ps2_NullDiagnostics.h:38
void incorrectResponse(ps2::KeyboardOutput scanCode, ps2::KeyboardOutput expectedScanCode)
Definition: ps2_NullDiagnostics.h:48
Definition: ps2_AnsiTranslator.h:24
void noTranslationForKey(bool isExtended, KeyboardOutput code)
Definition: ps2_NullDiagnostics.h:52
void sendFrameError()
Definition: ps2_NullDiagnostics.h:41
void packetDidNotStartWithZero()
Definition: ps2_NullDiagnostics.h:37
void receivedByte(byte b)
Definition: ps2_NullDiagnostics.h:59
This is the default class for diagnostic information for all the classes in this library. It's the class you want if want to drop diagnostic information on the floor (because, say, your device works plenty reliably and there's nothing to debug anymore). If you're not in that blessed place, then you can create your own class that implements all these methods and stashes the data somewhere.
Definition: ps2_NullDiagnostics.h:33
void clockLineGlitch(uint8_t numBitsSent)
Definition: ps2_NullDiagnostics.h:60
KeyboardOutput
Byte-codes sent back from the Ps2 keyboard to the host.
Definition: ps2_KeyboardOutput.h:31
void sentByte(byte b)
Definition: ps2_NullDiagnostics.h:58
void packetIncomplete()
Definition: ps2_NullDiagnostics.h:40
static NullDiagnostics * defaultInstance()
Definition: ps2_NullDiagnostics.h:65
void startupFailure()
Definition: ps2_NullDiagnostics.h:42
void bufferOverflow()
Definition: ps2_NullDiagnostics.h:45