mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
WindowServer: Add "Natural scrolling" support
Also commonly referred to as "reverse scrolling" or "inverted scrolling".
This commit is contained in:
parent
bef9ad4e44
commit
5a083c03a6
7 changed files with 39 additions and 1 deletions
|
@ -176,6 +176,9 @@ endpoint WindowServer
|
|||
set_buttons_switched(bool switched) =|
|
||||
get_buttons_switched() => (bool switched)
|
||||
|
||||
set_natural_scroll(bool inverted) =|
|
||||
is_natural_scroll() => (bool inverted)
|
||||
|
||||
get_desktop_display_scale(u32 screen_index) => (int desktop_display_scale)
|
||||
|
||||
set_flash_flush(bool enabled) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue