2011-07-05 19:45:19 +08:00
|
|
|
What: /sys/bus/hid/drivers/wiimote/<dev>/led1
|
|
|
|
What: /sys/bus/hid/drivers/wiimote/<dev>/led2
|
|
|
|
What: /sys/bus/hid/drivers/wiimote/<dev>/led3
|
|
|
|
What: /sys/bus/hid/drivers/wiimote/<dev>/led4
|
|
|
|
Date: July 2011
|
|
|
|
KernelVersion: 3.1
|
|
|
|
Contact: David Herrmann <dh.herrmann@googlemail.com>
|
|
|
|
Description: Make it possible to set/get current led state. Reading from it
|
|
|
|
returns 0 if led is off and 1 if it is on. Writing 0 to it
|
|
|
|
disables the led, writing 1 enables it.
|
2011-11-17 21:12:04 +08:00
|
|
|
|
|
|
|
What: /sys/bus/hid/drivers/wiimote/<dev>/extension
|
|
|
|
Date: August 2011
|
|
|
|
KernelVersion: 3.2
|
2013-05-06 05:13:04 +08:00
|
|
|
Contact: David Herrmann <dh.herrmann@gmail.com>
|
2011-11-17 21:12:04 +08:00
|
|
|
Description: This file contains the currently connected and initialized
|
|
|
|
extensions. It can be one of: none, motionp, nunchuck, classic,
|
|
|
|
motionp+nunchuck, motionp+classic
|
|
|
|
motionp is the official Nintendo Motion+ extension, nunchuck is
|
|
|
|
the official Nintendo Nunchuck extension and classic is the
|
|
|
|
Nintendo Classic Controller extension. The motionp extension can
|
|
|
|
be combined with the other two.
|
2013-05-06 05:13:04 +08:00
|
|
|
Starting with kernel-version 3.11 Motion Plus hotplugging is
|
|
|
|
supported and if detected, it's no longer reported as static
|
|
|
|
extension. You will get uevent notifications for the motion-plus
|
|
|
|
device then.
|
|
|
|
|
|
|
|
What: /sys/bus/hid/drivers/wiimote/<dev>/devtype
|
|
|
|
Date: May 2013
|
|
|
|
KernelVersion: 3.11
|
|
|
|
Contact: David Herrmann <dh.herrmann@gmail.com>
|
|
|
|
Description: While a device is initialized by the wiimote driver, we perform
|
|
|
|
a device detection and signal a "change" uevent after it is
|
|
|
|
done. This file shows the detected device type. "pending" means
|
|
|
|
that the detection is still ongoing, "unknown" means, that the
|
|
|
|
device couldn't be detected or loaded. "generic" means, that the
|
|
|
|
device couldn't be detected but supports basic Wii Remote
|
|
|
|
features and can be used.
|
|
|
|
Other strings for each device-type are available and may be
|
|
|
|
added if new device-specific detections are added.
|
|
|
|
Currently supported are:
|
|
|
|
gen10: First Wii Remote generation
|
|
|
|
gen20: Second Wii Remote Plus generation (builtin MP)
|
|
|
|
balanceboard: Wii Balance Board
|