Alright, so you’re writing a java application. Do you want to find out whether or not the mouse is accelerating? Or do you want to know exactly how many pixels the mouse accelerated by? Well here’s a quick and simple tutorial to show you how to do this.

(this can also be applied to anything that has an x or y value and you want to know if it has accelerated, or how much it has accelerated by)
Read more