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

Function ddio_InternalMouseFrame

ddio/lnxmouse.cpp:494–498  ·  view source on GitHub ↗

This function will handle all mouse events.

Source from the content-addressed store, hash-verified

492
493// This function will handle all mouse events.
494void ddio_InternalMouseFrame(void) {
495 static unsigned frame_count = 0;
496 SDL_PumpEvents();
497 frame_count++;
498}
499
500/* x, y = absolute mouse position
501 dx, dy = mouse deltas since last call

Callers 1

ddio_FrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected