Skip to main content

Keyboard

Basic USB keyboard support.

Methods​

init​

Initialize keyboard routines.

Keyboard.init();

get​

Get keyboard current char.

const c = Keyboard.get();

setRepeatRate​

Set keyboard repeat rate.

Keyboard.setRepeatRate(msec);

setBlockingMode​

Sets keyboard to block (or not) the thread waiting for the next key to be pressed.

Keyboard.setBlockingMode(mode);

deinit​

Destroy keyboard routines.

Keyboard.deinit();