Luna::HID::get_mouse_button_state

bool get_mouse_button_state(MouseButton mouse_button)

Checks if the specified mouse button is pressed.

Return value

Returns true if the mouse button is down, returns false otherwise. If mouse input is not supported, returns false always.