Skip to content

Add mouse movement #40

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

Open
clecat opened this issue Jul 13, 2022 · 0 comments
Open

Add mouse movement #40

clecat opened this issue Jul 13, 2022 · 0 comments

Comments

@clecat
Copy link

clecat commented Jul 13, 2022

I was thinking that having the ability to track the movement of the mouse would be quite nice, so I tried digging a bit and it seems that it can be done quite easily by de-commenting the move inputs in the event_of_control_code function and using the mode 1003 instead of 1002 (which activates the tracking of all mouse input even without any button pressed).

However it might have an impact on the performances & other secondary effects I am not aware off (I have very little knowledge on the subject). What do you think of it @pqwy ? Maybe it can be added but toggled off by default ?

Here is the diff file:
diff.txt

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

No branches or pull requests

1 participant