mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +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>
22 lines
1,003 B
Text
22 lines
1,003 B
Text
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.
|