Wouldn't this give you an unfair advantage over other players? Isn't this specifically forbidden?
Yes it does matter what game it is.
Cause the only game I can think of that you'd want to use something like this for is Runescape, which requires extensive periods of clicking and moving a mouse. Plus it's against the rules.