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

Method readUnicode

PS2Keyboard.cpp:378–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378int PS2Keyboard::readUnicode() {
379 int result;
380
381 result = CharBuffer;
382 if (!result) result = get_iso8859_code();
383 if (!result) return -1;
384 UTF8next = 0;
385 CharBuffer = 0;
386 return result;
387}
388
389PS2Keyboard::PS2Keyboard() {
390 // nothing to do here, begin() does it all

Callers

nothing calls this directly

Calls 1

get_iso8859_codeFunction · 0.85

Tested by

no test coverage detected