STRUCT HIDPP_SCROLL_COUNTER(9)
π struct hidpp_scroll_counter(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct hidpp_scroll_counter, and it is literally the utility class for processing high-resolution scroll events β¨ yeah. mouse girlies, this one's for u.
πΈ NAME πΈ
struct hidpp_scroll_counter β the utility class for processing high-resolution scroll events. that's it, that's the whole vibe π
π SYNOPSIS π
struct hidpp_scroll_counter {
int wheel_multiplier;
int remainder;
int direction;
unsigned long long last_time;
};
π¦ Members π¦
like, let's meet the cast, no cap:
wheel_multiplierβ the scalar multiplier that gets applied to each wheel event. it's giving "how much do we scale this" energy π₯remainderβ counts the number of high-resolution units that have moved since the last low-resolution event (REL_WHEELorREL_HWHEEL) was sent. π«Ά heads up though: it should only be used by class methods. not u. not your friend. only class methods, iykyk πdirectionβ direction of the last movement, and it's strictly1or-1. main character energy, no in-between πlast_timeβ the last event time, used to resetremainderafter inactivity. the "u good? u still scrolling?" timer fr fr β
π SEE ALSO π
- Kernel file
./drivers/hid/hid-logitech-hidpp.cπ hidpp_scroll_counter_handle_scroll(9)hidpp10_set_register(9)
ok that's the whole page bestie, go forth and scroll with high resolution π
and that's a wrap from ./drivers/hid, October 2026 β stay iconic, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms