Skip to content

PS4 Motion Sensors support

This patch series adds support for the motion sensors (accelerometer / gyroscope) as found in PS4 controllers.

The DualShock 4 controller provides uncalibrated sensor data as part of its main input report. The tests inject 'calibrated' data (as returned also to userspace) into the PS4Controller objects, which internally uncalibrate the data to recover close to raw data, which is then fed into the kernel to again be calibrated and output as calibrated data.

Merge request reports