nstd_input_is_mouse_down

Function nstd_input_is_mouse_down 

Source
pub unsafe extern "C" fn nstd_input_is_mouse_down(
    raw_input: NSTDRawInput,
    button: NSTDMouseButton,
) -> c_int
Expand description

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.