MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ddio_MouseBtnUpCount

Function ddio_MouseBtnUpCount

ddio/lnxmouse.cpp:582–588  ·  view source on GitHub ↗

return mouse button up count

Source from the content-addressed store, hash-verified

580
581// return mouse button up count
582int ddio_MouseBtnUpCount(int btn) {
583 if (btn < 0 || btn >= N_MSEBTNS)
584 return 0;
585 int n_ups = DIM_buttons.up_count[btn];
586 DIM_buttons.up_count[btn] = 0;
587 return n_ups;
588}
589
590char Ctltext_MseBtnBindings[N_MSEBTNS][32] = {"mse-1\0\0\0\0\0\0\0\0\0\0\0\0",
591 "mse-2\0\0\0\0\0\0\0\0\0\0\0\0",

Callers 2

get_controller_valueMethod · 0.85
get_controller_valueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected