packages feed

spade-0.1.0.9: docs/functions/keyboard.md

### Keyboard Functions

#### getkeystate

Captures the keyboard state and returns the captured state. This state can be used with #link: inkeystate# function to check if some keys were pressed during the capture.

#### inkeystate

Checks if the provided key was pressed when the keyboard state was captured. The function accept the keyboard scancode, and should be passed values in the builtin #link: scancodes# dictionary.

#### getkeypresses

Returns the keycodes of all the keys that were pressed since the last call to this function, in a list.

#### keycodes

Contains the keycodes for the different keys.

#### scancodes

Contains the scancodes for the different keys.