hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/Documentation/ABI/testing/sysfs-driver-hid-wiimote
....@@ -20,6 +20,7 @@
2020 the official Nintendo Nunchuck extension and classic is the
2121 Nintendo Classic Controller extension. The motionp extension can
2222 be combined with the other two.
23
+
2324 Starting with kernel-version 3.11 Motion Plus hotplugging is
2425 supported and if detected, it's no longer reported as static
2526 extension. You will get uevent notifications for the motion-plus
....@@ -39,9 +40,13 @@
3940 Other strings for each device-type are available and may be
4041 added if new device-specific detections are added.
4142 Currently supported are:
42
- gen10: First Wii Remote generation
43
- gen20: Second Wii Remote Plus generation (builtin MP)
43
+
44
+ ============= =======================================
45
+ gen10: First Wii Remote generation
46
+ gen20: Second Wii Remote Plus generation
47
+ (builtin MP)
4448 balanceboard: Wii Balance Board
49
+ ============= =======================================
4550
4651 What: /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib
4752 Date: May 2013
....@@ -54,6 +59,7 @@
5459 First, 0kg values for all 4 sensors are written, followed by the
5560 17kg values for all 4 sensors and last the 34kg values for all 4
5661 sensors.
62
+
5763 Calibration data is already applied by the kernel to all input
5864 values but may be used by user-space to perform other
5965 transformations.
....@@ -68,9 +74,11 @@
6874 is prefixed with a +/-. Each value is a signed 16bit number.
6975 Data is encoded as decimal numbers and specifies the offsets of
7076 the analog sticks of the pro-controller.
77
+
7178 Calibration data is already applied by the kernel to all input
7279 values but may be used by user-space to perform other
7380 transformations.
81
+
7482 Calibration data is detected by the kernel during device setup.
7583 You can write "scan\n" into this file to re-trigger calibration.
7684 You can also write data directly in the form "x1:y1 x2:y2" to