mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
c1e51398a1
Add new sysfs attribute "extension" which returns the currently connected and initialized extensions. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
23 lines
1003 B
Plaintext
23 lines
1003 B
Plaintext
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.
|
|
|
|
What: /sys/bus/hid/drivers/wiimote/<dev>/extension
|
|
Date: August 2011
|
|
KernelVersion: 3.2
|
|
Contact: David Herrmann <dh.herrmann@googlemail.com>
|
|
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.
|