Substituting a mouse input for two axes accelerometer input-Arduino/Processing