forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/jikos/hid Pull HID updates from Jiri Kosina: - HID battery handling cleanup by David Herrmann - ELO 4000/4500 driver, which has been finally ported to be proper HID driver by Jiri Slaby - ps3remote driver functionality is now provided by generic sony driver, by Jiri Kosina - PS2/3 Buzz controllers support, by Colin Leitner - rework of wiimote driver including full extensions hotpluggin support, sub-device modularization and speaker support by David Herrmann * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (55 commits) HID: wacom: Intuos4 battery charging changes HID: i2c-hid: support sending HID output reports using the output register HID: kye: Add report fixup for Genius Gila Gaming mouse HID: wiimote: support Nintendo Wii U Pro Controller Input: make gamepad API keycodes more clear input: document gamepad API and add extra keycodes HID: explain out-of-range check better HID: fix false positive out of range values HID: wiimote: fix coccinelle warnings HID: roccat: check cdev_add return value HID: fold ps3remote driver into generic Sony driver HID: hyperv: convert alloc+memcpy to memdup HID: core: fix reporting of raw events HID: wiimote: discard invalid EXT data reports HID: wiimote: fix classic controller parsing HID: wiimote: init EXT/MP during device detection HID: wiimote: fix DRM debug-attr to correctly parse input HID: wiimote: add MP quirks HID: wiimote: remove old static extension support HID: wiimote: add "bboard_calib" attribute ...
- Loading branch information
Showing
25 changed files
with
4,640 additions
and
1,728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,48 @@ Description: Make it possible to set/get current led state. Reading from it | |
What: /sys/bus/hid/drivers/wiimote/<dev>/extension | ||
Date: August 2011 | ||
KernelVersion: 3.2 | ||
Contact: David Herrmann <dh.herrmann@googlemail.com> | ||
Contact: David Herrmann <dh.herrmann@gmail.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. | ||
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 <[email protected]> | ||
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 | ||
|
||
What: /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib | ||
Date: May 2013 | ||
KernelVersion: 3.11 | ||
Contact: David Herrmann <[email protected]> | ||
Description: This attribute is only provided if the device was detected as a | ||
balance board. It provides a single line with 3 calibration | ||
values for all 4 sensors. The values are separated by colons and | ||
are each 2 bytes long (encoded as 4 digit hexadecimal value). | ||
First, 0kg values for all 4 sensors are written, followed by the | ||
17kg values for all 4 sensors and last the 34kg values for all 4 | ||
sensors. | ||
Calibration data is already applied by the kernel to all input | ||
values but may be used by user-space to perform other | ||
transformations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.