MCPcopy Create free account
hub / github.com/SpartanJ/eepp / isMouseLeftPressed

Method isMouseLeftPressed

src/eepp/window/input.cpp:384–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382}
383
384bool Input::isMouseLeftPressed() const {
385 return ( mPressTrigger & EE_BUTTON_LMASK ) != 0;
386}
387
388bool Input::isMouseRightPressed() const {
389 return ( mPressTrigger & EE_BUTTON_RMASK ) != 0;

Callers 4

screen2Method · 0.80
physicsUpdateMethod · 0.80
mainLoopFunction · 0.80
physicsUpdateFunction · 0.80

Calls

no outgoing calls

Tested by 2

screen2Method · 0.64
physicsUpdateMethod · 0.64