mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 10:11:36 +00:00
fc18dddc06
Added usage id processing for device rotation. This uses IIO interfaces for triggered buffer to present data to user mode.This uses HID sensor framework for registering callback events from the sensor hub. Data is exported to user space in the form of quaternion rotation format. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
32 lines
769 B
Plaintext
32 lines
769 B
Plaintext
#
|
|
# Inclinometer sensors
|
|
#
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
menu "Inclinometer sensors"
|
|
|
|
config HID_SENSOR_INCLINOMETER_3D
|
|
depends on HID_SENSOR_HUB
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select HID_SENSOR_IIO_COMMON
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
tristate "HID Inclinometer 3D"
|
|
help
|
|
Say yes here to build support for the HID SENSOR
|
|
Inclinometer 3D.
|
|
|
|
config HID_SENSOR_DEVICE_ROTATION
|
|
depends on HID_SENSOR_HUB
|
|
select IIO_BUFFER
|
|
select IIO_TRIGGERED_BUFFER
|
|
select HID_SENSOR_IIO_COMMON
|
|
select HID_SENSOR_IIO_TRIGGER
|
|
tristate "HID Device Rotation"
|
|
help
|
|
Say yes here to build support for the HID SENSOR
|
|
device rotation. The output of a device rotation sensor
|
|
is presented using quaternion format.
|
|
|
|
endmenu
|