mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
MouseSettings: Add option to reverse buttons
Add option to reverse primary and secondary buttons in Mouse Settings. - WindowServer.ini: add default entry - switch-mouse-buttons.png: new icon for settings entry - Mouse.gml/MouseWidget.*: new settings dialog - ClientConnection/WindowManager/Server: window message for settings - EventLoop.cpp: swap buttons 1 and 2 if settings are on
This commit is contained in:
parent
5599d22744
commit
0e68550c05
11 changed files with 90 additions and 0 deletions
|
@ -144,6 +144,9 @@ endpoint WindowServer
|
|||
set_double_click_speed(int speed) =|
|
||||
get_double_click_speed() => (int speed)
|
||||
|
||||
set_buttons_switched(bool switched) =|
|
||||
get_buttons_switched() => (bool switched)
|
||||
|
||||
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