MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / scroll_pixels

Function scroll_pixels

src/platform/macos/input.cpp:587–593  ·  view source on GitHub ↗

* @brief Convert a high-resolution wheel delta to CoreGraphics scroll pixels. * * @param macos_input macOS input state containing scroll scaling settings. * @param high_res_distance Wheel delta in Windows high-resolution units. * @return Pixel distance to send to CoreGraphics. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

scrollFunction · 0.85
hscrollFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected