The debounce values are in 40 microsecond intervals 40/100,000,000ths of a second. Even a value of 2000 as Hood suggests is requiring the signal be present for 2000 x 40us=80000/1,000,000,000ths of a second or 8/10,000ths of a second. Most of our machines (hobbyist) dont move very far in that short amount of time even in rapids.