obv-mikhail / InputBot

Rust library for creating global hotkeys, and simulating inputs
MIT License
419 stars 74 forks source link

implement MouseWheel ftns (scrolling) #11

Open bburdette opened 5 years ago

bburdette commented 5 years ago

Hey! First off, thanks for the awesome lib. Today I made a program to let me use my phone as a mouse - it works! mousepage on crates.io.

Now I'm looking to get scrolling to work, but looks like the relevant functions are unimplemented! MouseWheel.scroll_ver and MouseWheel.scroll_hor.

obv-mikhail commented 5 years ago

@bburdette thank you!

I am guessing that you are using Linux? X11 or Wayland?

I will look into how to implement the scrolling.

bburdette commented 5 years ago

Yep, linux. I'm not sure if its X11 or wayland, truthfully. Its nixos with xmonad as the window manager.

ed: its x11