Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mouse actions for scrolling #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emassey0135
Copy link

This adds actions for scrolling up and down by 1 line or 1 pixel. This is a very common mouse action, and among other things, this can be used to cycle through the hotbar in Minecraft, or to make things visible on screen that were hidden before.

@MicahKimel
Copy link

MicahKimel commented Nov 25, 2024

This is awesome, I was also thinking about adding this feature for a project I recently started!

My only question is there are already commands for moving the mouse and such, so why not instead of capture mouse location with your new command you could capture how many pixels the user would like to scroll.

For example cliclick su:100 to scroll up 100 pixels or cliclick sd:100 to scroll down 100 pixels.

I feel like doing it this way would add a lot more value to the project than only scrolling 1 pixel at a time. Let me know what you think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants