Crate nstd_input[][src]

Modules

Functions

Checks if a key is down. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDKey key - The key to check. Returns: int is_down - 1 if the key is down, 0 otherwise.

Checks if a key is up. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDKey key - The key to check. Returns: int is_up - 1 if the key is up, 0 otherwise.

Checks if a mouse button is down. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDMouseButton button - The mouse button to check. Returns: int is_down - 1 if the mouse button is up, 0 otherwise.

Checks if a mouse button is up. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDMouseButton button - The mouse button to check. Returns: int is_up - 1 if the mouse button is up, 0 otherwise.

Type Definitions

A raw input handle.