diff options
author | Michael Poole <mdpoole@troilus.org> | 2010-02-06 12:24:36 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-10 08:57:33 -0500 |
commit | 128537cea464d919febeaea2000e256749f317eb (patch) | |
tree | e9d661d8ca243f90b32adda5e6b4c6115bc7767a /drivers/hid/Kconfig | |
parent | 90a006abf8015c8cab893555244d8fc673b24839 (diff) |
HID: add a device driver for the Apple Magic Mouse.
The Magic Mouse requires that a driver send an unlock Report(Feature) command,
similar to the Wacom wireless tablet and Sixaxis controller quirks. This turns
on an Input Report that isn't published in the input Report descriptor that
contains touch data (and usually overrides the normal motion and click Report).
Because the mouse has only one switch and no scroll wheel, the driver
(under control of parameters) emulates a middle button and scroll wheel.
User space could also ignore and/or re-synthesize those events based on
the reported events.
Some user-space tools to talk to the mouse directly (that is, when it is not
associated with the host's HIDP stack) are at
http://github.com/entrope/linux-magicmouse
Signed-off-by: Michael Poole <mdpoole@troilus.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r-- | drivers/hid/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 24d90ea246ce..ba14ec898258 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -183,6 +183,16 @@ config LOGIRUMBLEPAD2_FF | |||
183 | Say Y here if you want to enable force feedback support for Logitech | 183 | Say Y here if you want to enable force feedback support for Logitech |
184 | Rumblepad 2 devices. | 184 | Rumblepad 2 devices. |
185 | 185 | ||
186 | config HID_MAGICMOUSE | ||
187 | tristate "Apple" if EMBEDDED | ||
188 | depends on BT_HIDP | ||
189 | default !EMBEDDED | ||
190 | ---help--- | ||
191 | Support for the Apple Magic Mouse. | ||
192 | |||
193 | Say Y here if you want support for the multi-touch features of the | ||
194 | Apple Wireless "Magic" Mouse. | ||
195 | |||
186 | config HID_MICROSOFT | 196 | config HID_MICROSOFT |
187 | tristate "Microsoft" if EMBEDDED | 197 | tristate "Microsoft" if EMBEDDED |
188 | depends on USB_HID | 198 | depends on USB_HID |