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

Function hscroll

src/platform/windows/input.cpp:596–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594 }
595
596 void hscroll(input_t &input, int distance) {
597 INPUT i {};
598
599 i.type = INPUT_MOUSE;
600 auto &mi = i.mi;
601
602 mi.dwFlags = MOUSEEVENTF_HWHEEL;
603 mi.mouseData = distance;
604
605 send_input(i);
606 }
607
608 void keyboard_update(input_t &input, uint16_t modcode, bool release, uint8_t flags) {
609 INPUT i {};

Callers

nothing calls this directly

Calls 1

send_inputFunction · 0.85

Tested by

no test coverage detected