MCPcopy Create free account
hub / github.com/crosire/reshade / is_mouse_button_down

Method is_mouse_button_down

source/input.cpp:343–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343bool reshade::input::is_mouse_button_down(unsigned int button) const
344{
345 assert(button < 5);
346 return is_key_down(VK_LBUTTON + button + (button < 2 ? 0 : 1)); // VK_CANCEL is being ignored by runtime
347}
348bool reshade::input::is_mouse_button_pressed(unsigned int button) const
349{
350 assert(button < 5);

Callers 2

render_effectsMethod · 0.45
draw_guiMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected