Script to make mouse movement induce "arrow keys" movement
Hi,
I am trying to make a script such that when I push a key (let's say "A" for the sake of simplicity), moving the mouse does the same as using the directional arrow keys. The goal is to move the screen without having to use arrow keys.
Is this feasible? I feel like I do not know the correct keywords to search for a solution.
Thanks for your help! Any tips are welcome :)
Posted Jul 22, 2019, 10:52 AM UTC
You'll need a toggle on "A" controlling MouseGetPos on a Timer to detect mouse movement "gestures" within some predefined limits which would send the appropriate directional key. I'm on mobile so I'll have a go later at some code.