Module nstd::input

source · []

Modules

Functions

Checks if a key is down. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDKey key - The key to check. Returns: NSTDBool is_down - NSTD_BOOL_TRUE if the key is down.

Checks if a key is up. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDKey key - The key to check. Returns: NSTDBool is_up - NSTD_BOOL_TRUE if the key is up.

Checks if a mouse button is down. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDMouseButton button - The mouse button to check. Returns: NSTDBool is_down - NSTD_BOOL_TRUE if the mouse button is up.

Checks if a mouse button is up. Parameters: const NSTDRawInput raw_input - Raw input handle. const NSTDMouseButton button - The mouse button to check. Returns: NSTDBool is_up - NSTD_BOOL_TRUE if the mouse button is up.

Type Definitions

A raw input handle.