Skip to main content

Keyboard

Basic USB keyboard support.

Methods

init

Initialize keyboard routines.

Keyboard.init();

get

Get keyboard current char.

const char = Keyboard.get();

setRepeatRate

Set keyboard repeat rate.

Keyboard.setRepeatRate(ms);

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();