MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / scroll

Function scroll

src/platform/windows/input.cpp:584–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582 }
583
584 void scroll(input_t &input, int distance) {
585 INPUT i {};
586
587 i.type = INPUT_MOUSE;
588 auto &mi = i.mi;
589
590 mi.dwFlags = MOUSEEVENTF_WHEEL;
591 mi.mouseData = distance;
592
593 send_input(i);
594 }
595
596 void hscroll(input_t &input, int distance) {
597 INPUT i {};

Callers

nothing calls this directly

Calls 1

send_inputFunction · 0.85

Tested by

no test coverage detected