diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2011-11-17 08:12:04 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-22 17:09:08 -0500 |
commit | c1e51398a14bd74c58a838e9e76e8f726c5643b9 (patch) | |
tree | d3ec6055d7c564570b74d54a8e1d63b0ec28a218 /Documentation/ABI | |
parent | 492ba955c1f7b8fdc3d87b6e4765c7a5db5f7657 (diff) |
HID: wiimote: Add extension sysfs attribute
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-wiimote | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-wiimote b/Documentation/ABI/testing/sysfs-driver-hid-wiimote index 5d5a16ea57c..3d98009f447 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-wiimote +++ b/Documentation/ABI/testing/sysfs-driver-hid-wiimote | |||
@@ -8,3 +8,15 @@ Contact: David Herrmann <dh.herrmann@googlemail.com> | |||
8 | Description: Make it possible to set/get current led state. Reading from it | 8 | Description: Make it possible to set/get current led state. Reading from it |
9 | returns 0 if led is off and 1 if it is on. Writing 0 to it | 9 | returns 0 if led is off and 1 if it is on. Writing 0 to it |
10 | disables the led, writing 1 enables it. | 10 | disables the led, writing 1 enables it. |
11 | |||
12 | What: /sys/bus/hid/drivers/wiimote/<dev>/extension | ||
13 | Date: August 2011 | ||
14 | KernelVersion: 3.2 | ||
15 | Contact: David Herrmann <dh.herrmann@googlemail.com> | ||
16 | Description: This file contains the currently connected and initialized | ||
17 | extensions. It can be one of: none, motionp, nunchuck, classic, | ||
18 | motionp+nunchuck, motionp+classic | ||
19 | motionp is the official Nintendo Motion+ extension, nunchuck is | ||
20 | the official Nintendo Nunchuck extension and classic is the | ||
21 | Nintendo Classic Controller extension. The motionp extension can | ||
22 | be combined with the other two. | ||