HID Device Rotation

modulename: hid-sensor-rotation.ko

configname: CONFIG_HID_SENSOR_DEVICE_ROTATION

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Inclinometer sensors
└─>HID Device Rotation
In linux kernel since version 3.10 (release Date: 2013-06-30)  
Say yes here to build support for the HID SENSOR
device rotation. The output of a device rotation sensor
is presented using quaternion format.

source code: