I would like to thank you both for your replies!

I looked up the mentioned tool from sync00 and also searched for AHK scripts that can translate mouse movements into ingame keystrokes.
I found a thread from the creator of CKS which features an AHK script that basicly does exaclty what i want it to do. I will link the thread in this post if someone else is looking for it in the future but you should be aware that the post also has some advice that you should explain a gm what you are about to do and await his/her response before running the script.

The guide i found is here: http://stormspire.net/consortium-qua...itimately.html