MCPcopy Create free account
hub / github.com/PaulStoffregen/PS2Keyboard / available

Method available

PS2Keyboard.cpp:349–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349bool PS2Keyboard::available() {
350 if (CharBuffer || UTF8next) return true;
351 CharBuffer = get_iso8859_code();
352 if (CharBuffer) return true;
353 return false;
354}
355
356int PS2Keyboard::read() {
357 uint8_t result;

Callers

nothing calls this directly

Calls 1

get_iso8859_codeFunction · 0.85

Tested by

no test coverage detected