nstd_input_is_key_down

Function nstd_input_is_key_down 

Source
pub unsafe extern "C" fn nstd_input_is_key_down(
    raw_input: NSTDRawInput,
    key: NSTDKey,
) -> c_int
Expand description

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.