powermate-linux icon indicating copy to clipboard operation
powermate-linux copied to clipboard

Scrolling commands?

Open GrantBailey opened this issue 1 year ago • 4 comments

Is there any command for scrolling a document or webpage? This would be very handy. Thanks, a great project.

GrantBailey avatar Dec 11 '23 08:12 GrantBailey

You can send mouse wheel events, usually buttons 4/5 for up and down or 6/7 for side scrolling I think.

alerque avatar Dec 11 '23 08:12 alerque

Alerque, is this done in the configuration file powermate.toml? Any pointers would be appreciated. Thank you

GrantBailey avatar Dec 11 '23 08:12 GrantBailey

If you are on Xorg configure commands for xdotool click 4 and similar. If on Wayland you'll need to look into what compositor you are using and what commands to run to simulate input events. Also see the same config file and previous issues on this topic.

alerque avatar Dec 11 '23 09:12 alerque

Alerque, thank you

GrantBailey avatar Dec 11 '23 09:12 GrantBailey