obv-mikhail / InputBot

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

implement MouseWheel ftns (scrolling) #11

Open bburdette opened 4 years ago

bburdette commented 4 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 4 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 4 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