diff options
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-hid-wiimote')
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-wiimote | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-wiimote b/Documentation/ABI/testing/sysfs-driver-hid-wiimote index ed5dd567d397..39dfa5cb1cc5 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-wiimote +++ b/Documentation/ABI/testing/sysfs-driver-hid-wiimote | |||
@@ -57,3 +57,21 @@ Description: This attribute is only provided if the device was detected as a | |||
57 | Calibration data is already applied by the kernel to all input | 57 | Calibration data is already applied by the kernel to all input |
58 | values but may be used by user-space to perform other | 58 | values but may be used by user-space to perform other |
59 | transformations. | 59 | transformations. |
60 | |||
61 | What: /sys/bus/hid/drivers/wiimote/<dev>/pro_calib | ||
62 | Date: October 2013 | ||
63 | KernelVersion: 3.13 | ||
64 | Contact: David Herrmann <dh.herrmann@gmail.com> | ||
65 | Description: This attribute is only provided if the device was detected as a | ||
66 | pro-controller. It provides a single line with 4 calibration | ||
67 | values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data | ||
68 | is prefixed with a +/-. Each value is a signed 16bit number. | ||
69 | Data is encoded as decimal numbers and specifies the offsets of | ||
70 | the analog sticks of the pro-controller. | ||
71 | Calibration data is already applied by the kernel to all input | ||
72 | values but may be used by user-space to perform other | ||
73 | transformations. | ||
74 | Calibration data is detected by the kernel during device setup. | ||
75 | You can write "scan\n" into this file to re-trigger calibration. | ||
76 | You can also write data directly in the form "x1:y1 x2:y2" to | ||
77 | set the calibration values manually. | ||