2006-12-08 17:41:30 +00:00
|
|
|
#
|
|
|
|
# Makefile for the HID driver
|
|
|
|
#
|
2010-11-18 09:42:30 +00:00
|
|
|
hid-y := hid-core.o hid-input.o
|
2007-01-25 10:43:31 +00:00
|
|
|
|
2009-06-12 13:20:55 +00:00
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
|
|
hid-objs += hid-debug.o
|
|
|
|
endif
|
|
|
|
|
2007-01-25 10:43:31 +00:00
|
|
|
obj-$(CONFIG_HID) += hid.o
|
2012-06-10 13:16:13 +00:00
|
|
|
obj-$(CONFIG_UHID) += uhid.o
|
2007-05-14 07:57:40 +00:00
|
|
|
|
2012-04-23 10:07:07 +00:00
|
|
|
obj-$(CONFIG_HID_GENERIC) += hid-generic.o
|
|
|
|
|
2007-05-14 07:57:40 +00:00
|
|
|
hid-$(CONFIG_HIDRAW) += hidraw.o
|
2007-01-25 10:43:31 +00:00
|
|
|
|
2010-11-18 09:42:30 +00:00
|
|
|
hid-logitech-y := hid-lg.o
|
2008-07-04 21:06:45 +00:00
|
|
|
ifdef CONFIG_LOGITECH_FF
|
2010-11-18 09:42:30 +00:00
|
|
|
hid-logitech-y += hid-lgff.o
|
2008-07-04 21:06:45 +00:00
|
|
|
endif
|
|
|
|
ifdef CONFIG_LOGIRUMBLEPAD2_FF
|
2010-11-18 09:42:30 +00:00
|
|
|
hid-logitech-y += hid-lg2ff.o
|
2008-07-04 21:06:45 +00:00
|
|
|
endif
|
2010-01-12 23:25:58 +00:00
|
|
|
ifdef CONFIG_LOGIG940_FF
|
2010-11-18 09:42:30 +00:00
|
|
|
hid-logitech-y += hid-lg3ff.o
|
2010-01-12 23:25:58 +00:00
|
|
|
endif
|
2011-08-04 14:24:22 +00:00
|
|
|
ifdef CONFIG_LOGIWHEELS_FF
|
2010-11-18 09:42:30 +00:00
|
|
|
hid-logitech-y += hid-lg4ff.o
|
2010-09-22 11:19:42 +00:00
|
|
|
endif
|
2008-07-04 21:06:45 +00:00
|
|
|
|
HID: wiimote: add sub-device module infrastructure
To avoid loading all sub-device drivers for every Wii Remote, even though
the required hardware might not be available, we introduce a module layer.
The module layer specifies which sub-devices are available on each
device-type. After device detection, we only load the modules for the
detected device. If module loading fails, we unload everything and mark
the device as WIIMOTE_DEV_UNKNOWN. As long as a device is marked as
"unknown", no sub-devices will be used and the device is considered
unsupported.
All the different sub-devices, including KEYS, RUMBLE, BATTERY, LEDS,
ACCELEROMETER, IR and more will be ported in follow-up patches to the new
module layer.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2013-05-05 21:12:51 +00:00
|
|
|
hid-wiimote-y := hid-wiimote-core.o hid-wiimote-modules.o
|
2011-11-17 13:12:10 +00:00
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
|
|
hid-wiimote-y += hid-wiimote-debug.o
|
|
|
|
endif
|
2011-11-17 13:11:58 +00:00
|
|
|
|
2008-06-23 21:31:09 +00:00
|
|
|
obj-$(CONFIG_HID_A4TECH) += hid-a4tech.o
|
2011-03-11 08:27:34 +00:00
|
|
|
obj-$(CONFIG_HID_ACRUX) += hid-axff.o
|
2008-06-18 21:36:49 +00:00
|
|
|
obj-$(CONFIG_HID_APPLE) += hid-apple.o
|
2013-04-17 16:15:15 +00:00
|
|
|
obj-$(CONFIG_HID_APPLEIR) += hid-appleir.o
|
2012-04-10 22:29:04 +00:00
|
|
|
obj-$(CONFIG_HID_AUREAL) += hid-aureal.o
|
2008-06-24 21:24:57 +00:00
|
|
|
obj-$(CONFIG_HID_BELKIN) += hid-belkin.o
|
2014-11-26 10:21:03 +00:00
|
|
|
obj-$(CONFIG_HID_BETOP_FF) += hid-betopff.o
|
2008-06-24 18:42:25 +00:00
|
|
|
obj-$(CONFIG_HID_CHERRY) += hid-cherry.o
|
2008-06-24 20:48:52 +00:00
|
|
|
obj-$(CONFIG_HID_CHICONY) += hid-chicony.o
|
2014-02-04 18:42:48 +00:00
|
|
|
obj-$(CONFIG_HID_CP2112) += hid-cp2112.o
|
2008-06-23 20:54:08 +00:00
|
|
|
obj-$(CONFIG_HID_CYPRESS) += hid-cypress.o
|
2011-01-28 11:50:51 +00:00
|
|
|
obj-$(CONFIG_HID_DRAGONRISE) += hid-dr.o
|
2010-11-01 19:13:37 +00:00
|
|
|
obj-$(CONFIG_HID_EMS_FF) += hid-emsff.o
|
2010-06-28 16:54:25 +00:00
|
|
|
obj-$(CONFIG_HID_ELECOM) += hid-elecom.o
|
2013-05-07 09:40:58 +00:00
|
|
|
obj-$(CONFIG_HID_ELO) += hid-elo.o
|
2008-06-24 19:11:21 +00:00
|
|
|
obj-$(CONFIG_HID_EZKEY) += hid-ezkey.o
|
2014-06-18 16:05:02 +00:00
|
|
|
obj-$(CONFIG_HID_GT683R) += hid-gt683r.o
|
2008-07-24 21:35:13 +00:00
|
|
|
obj-$(CONFIG_HID_GYRATION) += hid-gyration.o
|
2012-07-06 15:05:04 +00:00
|
|
|
obj-$(CONFIG_HID_HOLTEK) += hid-holtek-kbd.o
|
2013-05-20 23:31:08 +00:00
|
|
|
obj-$(CONFIG_HID_HOLTEK) += hid-holtek-mouse.o
|
2011-06-26 21:07:31 +00:00
|
|
|
obj-$(CONFIG_HID_HOLTEK) += hid-holtekff.o
|
2013-05-28 12:25:15 +00:00
|
|
|
obj-$(CONFIG_HID_HUION) += hid-huion.o
|
2011-11-22 21:52:15 +00:00
|
|
|
obj-$(CONFIG_HID_HYPERV_MOUSE) += hid-hyperv.o
|
2012-10-31 11:10:10 +00:00
|
|
|
obj-$(CONFIG_HID_ICADE) += hid-icade.o
|
2009-03-04 15:09:40 +00:00
|
|
|
obj-$(CONFIG_HID_KENSINGTON) += hid-kensington.o
|
2011-02-17 14:12:45 +00:00
|
|
|
obj-$(CONFIG_HID_KEYTOUCH) += hid-keytouch.o
|
2009-03-11 10:43:27 +00:00
|
|
|
obj-$(CONFIG_HID_KYE) += hid-kye.o
|
2011-02-03 15:41:47 +00:00
|
|
|
obj-$(CONFIG_HID_LCPOWER) += hid-lcpower.o
|
2014-07-23 22:30:45 +00:00
|
|
|
obj-$(CONFIG_HID_LENOVO) += hid-lenovo.o
|
2008-05-16 09:49:19 +00:00
|
|
|
obj-$(CONFIG_HID_LOGITECH) += hid-logitech.o
|
2011-09-15 09:34:49 +00:00
|
|
|
obj-$(CONFIG_HID_LOGITECH_DJ) += hid-logitech-dj.o
|
2014-09-30 17:18:27 +00:00
|
|
|
obj-$(CONFIG_HID_LOGITECH_HIDPP) += hid-logitech-hidpp.o
|
2010-02-06 17:24:36 +00:00
|
|
|
obj-$(CONFIG_HID_MAGICMOUSE) += hid-magicmouse.o
|
2008-06-20 19:26:11 +00:00
|
|
|
obj-$(CONFIG_HID_MICROSOFT) += hid-microsoft.o
|
2008-06-24 22:07:50 +00:00
|
|
|
obj-$(CONFIG_HID_MONTEREY) += hid-monterey.o
|
2011-01-07 22:45:50 +00:00
|
|
|
obj-$(CONFIG_HID_MULTITOUCH) += hid-multitouch.o
|
2008-11-19 14:54:46 +00:00
|
|
|
obj-$(CONFIG_HID_NTRIG) += hid-ntrig.o
|
2010-01-21 14:36:52 +00:00
|
|
|
obj-$(CONFIG_HID_ORTEK) += hid-ortek.o
|
2010-05-12 13:18:59 +00:00
|
|
|
obj-$(CONFIG_HID_PRODIKEYS) += hid-prodikeys.o
|
2008-09-18 17:43:32 +00:00
|
|
|
obj-$(CONFIG_HID_PANTHERLORD) += hid-pl.o
|
2014-09-03 08:33:53 +00:00
|
|
|
obj-$(CONFIG_HID_PENMOUNT) += hid-penmount.o
|
2008-06-24 21:46:21 +00:00
|
|
|
obj-$(CONFIG_HID_PETALYNX) += hid-petalynx.o
|
2010-03-30 20:33:50 +00:00
|
|
|
obj-$(CONFIG_HID_PICOLCD) += hid-picolcd.o
|
2012-07-30 19:38:28 +00:00
|
|
|
hid-picolcd-y += hid-picolcd_core.o
|
|
|
|
ifdef CONFIG_HID_PICOLCD_FB
|
|
|
|
hid-picolcd-y += hid-picolcd_fb.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_HID_PICOLCD_BACKLIGHT
|
|
|
|
hid-picolcd-y += hid-picolcd_backlight.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_HID_PICOLCD_LCD
|
|
|
|
hid-picolcd-y += hid-picolcd_lcd.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_HID_PICOLCD_LEDS
|
|
|
|
hid-picolcd-y += hid-picolcd_leds.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_HID_PICOLCD_CIR
|
|
|
|
hid-picolcd-y += hid-picolcd_cir.o
|
|
|
|
endif
|
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
|
|
hid-picolcd-y += hid-picolcd_debugfs.o
|
|
|
|
endif
|
|
|
|
|
2014-11-01 00:34:42 +00:00
|
|
|
obj-$(CONFIG_HID_PLANTRONICS) += hid-plantronics.o
|
2011-10-15 00:18:54 +00:00
|
|
|
obj-$(CONFIG_HID_PRIMAX) += hid-primax.o
|
2011-12-29 16:20:14 +00:00
|
|
|
obj-$(CONFIG_HID_ROCCAT) += hid-roccat.o hid-roccat-common.o \
|
|
|
|
hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
|
2013-03-10 11:32:44 +00:00
|
|
|
hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
|
2013-10-28 17:52:07 +00:00
|
|
|
hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
|
2014-04-07 17:39:33 +00:00
|
|
|
obj-$(CONFIG_HID_RMI) += hid-rmi.o
|
2012-02-22 01:10:06 +00:00
|
|
|
obj-$(CONFIG_HID_SAITEK) += hid-saitek.o
|
2008-06-25 20:31:48 +00:00
|
|
|
obj-$(CONFIG_HID_SAMSUNG) += hid-samsung.o
|
2009-05-13 08:54:38 +00:00
|
|
|
obj-$(CONFIG_HID_SMARTJOYPLUS) += hid-sjoy.o
|
2008-06-25 21:47:04 +00:00
|
|
|
obj-$(CONFIG_HID_SONY) += hid-sony.o
|
2011-05-27 16:40:29 +00:00
|
|
|
obj-$(CONFIG_HID_SPEEDLINK) += hid-speedlink.o
|
2013-01-31 15:50:24 +00:00
|
|
|
obj-$(CONFIG_HID_STEELSERIES) += hid-steelseries.o
|
2008-06-23 19:56:07 +00:00
|
|
|
obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o
|
2009-05-15 13:46:44 +00:00
|
|
|
obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o
|
2013-01-22 17:01:21 +00:00
|
|
|
obj-$(CONFIG_HID_THINGM) += hid-thingm.o
|
2009-05-15 13:46:44 +00:00
|
|
|
obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o
|
HID: add support for tivo slide remote
This patch finishes off adding full support for the TiVo Slide remote,
which is a mostly pure HID device from the perspective of the kernel.
There are a few mappings that use a vendor-specific usage page, and a
few keys in the consumer usage page that I think make sense to remap
slightly, to better fit their key labels' intended use. Doing this in a
stand-alone hid-tivo.c makes the modifications only matter for this
specific device.
What's actually connected to the computer is a Broadcom-made usb dongle,
which has an embedded hub, bluetooth adapter, mouse and keyboard
devices. You pair with the dongle, then the remote sends data that its
converted into HID on the keyboard interface (the mouse interface
doesn't do anything interesting, so far as I can tell).
lsusb for this device:
Bus 004 Device 005: ID 0a5c:2190 Broadcom Corp.
Bus 004 Device 004: ID 0a5c:4503 Broadcom Corp.
Bus 004 Device 003: ID 150a:1201
Bus 004 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Speaking of the keyboard interface, the remote actually does contain a
keyboard as well. The top slides away, revealing a reasonably functional
qwerty keyboard (not unlike many slide cell phones), thus the product
name.
CC: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-10-14 20:57:42 +00:00
|
|
|
obj-$(CONFIG_HID_TIVO) += hid-tivo.o
|
2009-01-03 23:36:56 +00:00
|
|
|
obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o
|
2009-07-13 12:19:58 +00:00
|
|
|
obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o
|
2010-08-09 16:44:17 +00:00
|
|
|
obj-$(CONFIG_HID_UCLOGIC) += hid-uclogic.o
|
2013-07-27 17:20:02 +00:00
|
|
|
obj-$(CONFIG_HID_XINMO) += hid-xinmo.o
|
2009-05-15 13:46:44 +00:00
|
|
|
obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o
|
2010-05-14 16:30:59 +00:00
|
|
|
obj-$(CONFIG_HID_ZYDACRON) += hid-zydacron.o
|
2014-07-24 20:10:09 +00:00
|
|
|
|
|
|
|
wacom-objs := wacom_wac.o wacom_sys.o
|
2014-08-06 21:06:26 +00:00
|
|
|
obj-$(CONFIG_HID_WACOM) += wacom.o
|
2010-08-20 15:21:11 +00:00
|
|
|
obj-$(CONFIG_HID_WALTOP) += hid-waltop.o
|
2011-07-05 11:45:08 +00:00
|
|
|
obj-$(CONFIG_HID_WIIMOTE) += hid-wiimote.o
|
2012-09-05 12:56:00 +00:00
|
|
|
obj-$(CONFIG_HID_SENSOR_HUB) += hid-sensor-hub.o
|
2008-05-16 09:49:19 +00:00
|
|
|
|
2007-03-08 15:47:49 +00:00
|
|
|
obj-$(CONFIG_USB_HID) += usbhid/
|
|
|
|
obj-$(CONFIG_USB_MOUSE) += usbhid/
|
|
|
|
obj-$(CONFIG_USB_KBD) += usbhid/
|
|
|
|
|
2012-11-12 14:42:59 +00:00
|
|
|
obj-$(CONFIG_I2C_HID) += i2c-hid/
|