Decreasing the sensitivity

The xbox controller is extremlly sensitive. I was wondering how I should go about decreasing the sensitivity. I was thinking about dividing the poll data by 2. Would that work or is there an easier way.

maybe…

Math.sqrt(value)

or…

Math.pow(value, 1.0 / factor)

I tried that. something like this:


	public void theta1(double x, double y){
		y = Math.pow(y,1/2);
		x = Math.pow(x,1/2);
		setTheta(Math.atan2(y, x));

My Y and X are dependant on each other. Since they are in a ratio, theta will always be the same if x and y are being modified by the same factor

Obviously, you have to ‘adjust’ the vector length, not the input values.

Besides that: 1/2==0 so your code doesn’t work.

Well, often lots of “practice” helps. Can’t help you with the vector length though.

If you mean ‘noisy’ then you could start with a low pass filter:

x = f(x0+x1)-x0

where ‘x0’ is the previous filtered sample, ‘x1’ is the new sample and ‘f’ is the weight of the filter, on (0,1).