summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGeoff Levand2007-01-16 05:11:52 +0100
committerGreg Kroah-Hartman2007-02-08 00:44:36 +0100
commit4a1a4d8b87389e35c3af04c0d0a95f6a0391b964 (patch)
treeaa68e0259f38d2342d7c7719a324d917fd29fc1e /include
parentUSB: ps3 ehci bus glue (diff)
downloadkernel-qcow2-linux-4a1a4d8b87389e35c3af04c0d0a95f6a0391b964.tar.gz
kernel-qcow2-linux-4a1a4d8b87389e35c3af04c0d0a95f6a0391b964.tar.xz
kernel-qcow2-linux-4a1a4d8b87389e35c3af04c0d0a95f6a0391b964.zip
USB: ps3 controller hid quirk
Add the USB HID quirk HID_QUIRK_SONY_PS3_CONTROLLER. This sends an HID_REQ_GET_REPORT to the the PS3 controller to put the device into 'operational mode'. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 93173fe45634..d26b08f461f2 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -266,6 +266,7 @@ struct hid_item {
#define HID_QUIRK_BAD_RELATIVE_KEYS 0x00010000
#define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00020000
#define HID_QUIRK_IGNORE_MOUSE 0x00040000
+#define HID_QUIRK_SONY_PS3_CONTROLLER 0x00080000
/*
* This is the global environment of the parser. This information is