Keyboard.poll

Polls the device for events.

class Keyboard
override @nogc nothrow
int
poll
(
ref InputEvent output
)

Parameters

output InputEvent

InputEvents outputted by the

Return Value

Type: int

1 if there's still events to be polled, 0 if no events left. Other values are error codes.

Meta