18c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/led1
28c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/led2
38c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/led3
48c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/led4
58c2ecf20Sopenharmony_ciDate:		July 2011
68c2ecf20Sopenharmony_ciKernelVersion:	3.1
78c2ecf20Sopenharmony_ciContact:	David Herrmann <dh.herrmann@googlemail.com>
88c2ecf20Sopenharmony_ciDescription:	Make it possible to set/get current led state. Reading from it
98c2ecf20Sopenharmony_ci		returns 0 if led is off and 1 if it is on. Writing 0 to it
108c2ecf20Sopenharmony_ci		disables the led, writing 1 enables it.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/extension
138c2ecf20Sopenharmony_ciDate:		August 2011
148c2ecf20Sopenharmony_ciKernelVersion:	3.2
158c2ecf20Sopenharmony_ciContact:	David Herrmann <dh.herrmann@gmail.com>
168c2ecf20Sopenharmony_ciDescription:	This file contains the currently connected and initialized
178c2ecf20Sopenharmony_ci		extensions. It can be one of: none, motionp, nunchuck, classic,
188c2ecf20Sopenharmony_ci		motionp+nunchuck, motionp+classic
198c2ecf20Sopenharmony_ci		motionp is the official Nintendo Motion+ extension, nunchuck is
208c2ecf20Sopenharmony_ci		the official Nintendo Nunchuck extension and classic is the
218c2ecf20Sopenharmony_ci		Nintendo Classic Controller extension. The motionp extension can
228c2ecf20Sopenharmony_ci		be combined with the other two.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci		Starting with kernel-version 3.11 Motion Plus hotplugging is
258c2ecf20Sopenharmony_ci		supported and if detected, it's no longer reported as static
268c2ecf20Sopenharmony_ci		extension. You will get uevent notifications for the motion-plus
278c2ecf20Sopenharmony_ci		device then.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/devtype
308c2ecf20Sopenharmony_ciDate:		May 2013
318c2ecf20Sopenharmony_ciKernelVersion:	3.11
328c2ecf20Sopenharmony_ciContact:	David Herrmann <dh.herrmann@gmail.com>
338c2ecf20Sopenharmony_ciDescription:	While a device is initialized by the wiimote driver, we perform
348c2ecf20Sopenharmony_ci		a device detection and signal a "change" uevent after it is
358c2ecf20Sopenharmony_ci		done. This file shows the detected device type. "pending" means
368c2ecf20Sopenharmony_ci		that the detection is still ongoing, "unknown" means, that the
378c2ecf20Sopenharmony_ci		device couldn't be detected or loaded. "generic" means, that the
388c2ecf20Sopenharmony_ci		device couldn't be detected but supports basic Wii Remote
398c2ecf20Sopenharmony_ci		features and can be used.
408c2ecf20Sopenharmony_ci		Other strings for each device-type are available and may be
418c2ecf20Sopenharmony_ci		added if new device-specific detections are added.
428c2ecf20Sopenharmony_ci		Currently supported are:
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci			============= =======================================
458c2ecf20Sopenharmony_ci			gen10:        First Wii Remote generation
468c2ecf20Sopenharmony_ci			gen20:        Second Wii Remote Plus generation
478c2ecf20Sopenharmony_ci				      (builtin MP)
488c2ecf20Sopenharmony_ci			balanceboard: Wii Balance Board
498c2ecf20Sopenharmony_ci			============= =======================================
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/bboard_calib
528c2ecf20Sopenharmony_ciDate:		May 2013
538c2ecf20Sopenharmony_ciKernelVersion:	3.11
548c2ecf20Sopenharmony_ciContact:	David Herrmann <dh.herrmann@gmail.com>
558c2ecf20Sopenharmony_ciDescription:	This attribute is only provided if the device was detected as a
568c2ecf20Sopenharmony_ci		balance board. It provides a single line with 3 calibration
578c2ecf20Sopenharmony_ci		values for all 4 sensors. The values are separated by colons and
588c2ecf20Sopenharmony_ci		are each 2 bytes long (encoded as 4 digit hexadecimal value).
598c2ecf20Sopenharmony_ci		First, 0kg values for all 4 sensors are written, followed by the
608c2ecf20Sopenharmony_ci		17kg values for all 4 sensors and last the 34kg values for all 4
618c2ecf20Sopenharmony_ci		sensors.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci		Calibration data is already applied by the kernel to all input
648c2ecf20Sopenharmony_ci		values but may be used by user-space to perform other
658c2ecf20Sopenharmony_ci		transformations.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciWhat:		/sys/bus/hid/drivers/wiimote/<dev>/pro_calib
688c2ecf20Sopenharmony_ciDate:		October 2013
698c2ecf20Sopenharmony_ciKernelVersion:	3.13
708c2ecf20Sopenharmony_ciContact:	David Herrmann <dh.herrmann@gmail.com>
718c2ecf20Sopenharmony_ciDescription:	This attribute is only provided if the device was detected as a
728c2ecf20Sopenharmony_ci		pro-controller. It provides a single line with 4 calibration
738c2ecf20Sopenharmony_ci		values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data
748c2ecf20Sopenharmony_ci		is prefixed with a +/-. Each value is a signed 16bit number.
758c2ecf20Sopenharmony_ci		Data is encoded as decimal numbers and specifies the offsets of
768c2ecf20Sopenharmony_ci		the analog sticks of the pro-controller.
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ci		Calibration data is already applied by the kernel to all input
798c2ecf20Sopenharmony_ci		values but may be used by user-space to perform other
808c2ecf20Sopenharmony_ci		transformations.
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci		Calibration data is detected by the kernel during device setup.
838c2ecf20Sopenharmony_ci		You can write "scan\n" into this file to re-trigger calibration.
848c2ecf20Sopenharmony_ci		You can also write data directly in the form "x1:y1 x2:y2" to
858c2ecf20Sopenharmony_ci		set the calibration values manually.
86