Re: [PATCH 1/2] HID: sony: Adjust value range for motion sensors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The motion sensor values are 16-bit, so make the value range match.
> It is hard to reach the upper values, but they can be reached. At
> least the current accelerometer value of 8192 is very easy to pass.
> 
> 

Are the gyro values intended to be scaled in any way?  The current min/max values were based on the observed maximum extents of the controller at rest.  With this change the controller at rest will never appear to be turned more than 22.5 degrees in any direction to an application which assumes that the logical extents represent the device at 90 degrees.

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux