brintos

brintos / linux-shallow public Read only

0
0
Text · 3.7 KiB · 3bf43d9 Raw
86 lines · plain
1What:		/sys/bus/hid/drivers/wiimote/<dev>/led12What:		/sys/bus/hid/drivers/wiimote/<dev>/led23What:		/sys/bus/hid/drivers/wiimote/<dev>/led34What:		/sys/bus/hid/drivers/wiimote/<dev>/led45Date:		July 20116KernelVersion:	3.17Contact:	David Herrmann <dh.herrmann@googlemail.com>8Description:	Make it possible to set/get current led state. Reading from it9		returns 0 if led is off and 1 if it is on. Writing 0 to it10		disables the led, writing 1 enables it.11 12What:		/sys/bus/hid/drivers/wiimote/<dev>/extension13Date:		August 201114KernelVersion:	3.215Contact:	David Herrmann <dh.herrmann@gmail.com>16Description:	This file contains the currently connected and initialized17		extensions. It can be one of: none, motionp, nunchuck, classic,18		motionp+nunchuck, motionp+classic19		motionp is the official Nintendo Motion+ extension, nunchuck is20		the official Nintendo Nunchuck extension and classic is the21		Nintendo Classic Controller extension. The motionp extension can22		be combined with the other two.23 24		Starting with kernel-version 3.11 Motion Plus hotplugging is25		supported and if detected, it's no longer reported as static26		extension. You will get uevent notifications for the motion-plus27		device then.28 29What:		/sys/bus/hid/drivers/wiimote/<dev>/devtype30Date:		May 201331KernelVersion:	3.1132Contact:	David Herrmann <dh.herrmann@gmail.com>33Description:	While a device is initialized by the wiimote driver, we perform34		a device detection and signal a "change" uevent after it is35		done. This file shows the detected device type. "pending" means36		that the detection is still ongoing, "unknown" means, that the37		device couldn't be detected or loaded. "generic" means, that the38		device couldn't be detected but supports basic Wii Remote39		features and can be used.40		Other strings for each device-type are available and may be41		added if new device-specific detections are added.42		Currently supported are:43 44			============= =======================================45			gen10:        First Wii Remote generation46			gen20:        Second Wii Remote Plus generation47				      (builtin MP)48			balanceboard: Wii Balance Board49			============= =======================================50 51What:		/sys/bus/hid/drivers/wiimote/<dev>/bboard_calib52Date:		May 201353KernelVersion:	3.1154Contact:	David Herrmann <dh.herrmann@gmail.com>55Description:	This attribute is only provided if the device was detected as a56		balance board. It provides a single line with 3 calibration57		values for all 4 sensors. The values are separated by colons and58		are each 2 bytes long (encoded as 4 digit hexadecimal value).59		First, 0kg values for all 4 sensors are written, followed by the60		17kg values for all 4 sensors and last the 34kg values for all 461		sensors.62 63		Calibration data is already applied by the kernel to all input64		values but may be used by user-space to perform other65		transformations.66 67What:		/sys/bus/hid/drivers/wiimote/<dev>/pro_calib68Date:		October 201369KernelVersion:	3.1370Contact:	David Herrmann <dh.herrmann@gmail.com>71Description:	This attribute is only provided if the device was detected as a72		pro-controller. It provides a single line with 4 calibration73		values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data74		is prefixed with a +/-. Each value is a signed 16bit number.75		Data is encoded as decimal numbers and specifies the offsets of76		the analog sticks of the pro-controller.77 78		Calibration data is already applied by the kernel to all input79		values but may be used by user-space to perform other80		transformations.81 82		Calibration data is detected by the kernel during device setup.83		You can write "scan\n" into this file to re-trigger calibration.84		You can also write data directly in the form "x1:y1 x2:y2" to85		set the calibration values manually.86