MCPcopy Create free account
hub / github.com/diasurgical/devilution / set_mouse_motion_event

Function set_mouse_motion_event

SourceX/controls/touch.cpp:425–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425static void set_mouse_motion_event(SDL_Event *event, int32_t x, int32_t y, int32_t xrel, int32_t yrel)
426{
427 event->type = SDL_MOUSEMOTION;
428 event->motion.x = x;
429 event->motion.y = y;
430 event->motion.xrel = xrel;
431 event->motion.yrel = yrel;
432}
433#endif

Callers 1

preprocess_finger_motionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected