forked from Minki/linux
44ea35c138
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>
96 lines
3.1 KiB
Makefile
96 lines
3.1 KiB
Makefile
#
|
|
# Makefile for the HID driver
|
|
#
|
|
hid-y := hid-core.o hid-input.o
|
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
hid-objs += hid-debug.o
|
|
endif
|
|
|
|
obj-$(CONFIG_HID) += hid.o
|
|
|
|
hid-$(CONFIG_HIDRAW) += hidraw.o
|
|
|
|
hid-logitech-y := hid-lg.o
|
|
ifdef CONFIG_LOGITECH_FF
|
|
hid-logitech-y += hid-lgff.o
|
|
endif
|
|
ifdef CONFIG_LOGIRUMBLEPAD2_FF
|
|
hid-logitech-y += hid-lg2ff.o
|
|
endif
|
|
ifdef CONFIG_LOGIG940_FF
|
|
hid-logitech-y += hid-lg3ff.o
|
|
endif
|
|
ifdef CONFIG_LOGIWHEELS_FF
|
|
hid-logitech-y += hid-lg4ff.o
|
|
endif
|
|
|
|
hid-wiimote-y := hid-wiimote-core.o
|
|
ifdef CONFIG_HID_WIIMOTE_EXT
|
|
hid-wiimote-y += hid-wiimote-ext.o
|
|
endif
|
|
ifdef CONFIG_DEBUG_FS
|
|
hid-wiimote-y += hid-wiimote-debug.o
|
|
endif
|
|
|
|
obj-$(CONFIG_HID_A4TECH) += hid-a4tech.o
|
|
obj-$(CONFIG_HID_ACRUX) += hid-axff.o
|
|
obj-$(CONFIG_HID_APPLE) += hid-apple.o
|
|
obj-$(CONFIG_HID_BELKIN) += hid-belkin.o
|
|
obj-$(CONFIG_HID_CHERRY) += hid-cherry.o
|
|
obj-$(CONFIG_HID_CHICONY) += hid-chicony.o
|
|
obj-$(CONFIG_HID_CYPRESS) += hid-cypress.o
|
|
obj-$(CONFIG_HID_DRAGONRISE) += hid-dr.o
|
|
obj-$(CONFIG_HID_EMS_FF) += hid-emsff.o
|
|
obj-$(CONFIG_HID_ELECOM) += hid-elecom.o
|
|
obj-$(CONFIG_HID_EZKEY) += hid-ezkey.o
|
|
obj-$(CONFIG_HID_GYRATION) += hid-gyration.o
|
|
obj-$(CONFIG_HID_HOLTEK) += hid-holtekff.o
|
|
obj-$(CONFIG_HID_HYPERV_MOUSE) += hid-hyperv.o
|
|
obj-$(CONFIG_HID_KENSINGTON) += hid-kensington.o
|
|
obj-$(CONFIG_HID_KEYTOUCH) += hid-keytouch.o
|
|
obj-$(CONFIG_HID_KYE) += hid-kye.o
|
|
obj-$(CONFIG_HID_LCPOWER) += hid-lcpower.o
|
|
obj-$(CONFIG_HID_LOGITECH) += hid-logitech.o
|
|
obj-$(CONFIG_HID_LOGITECH_DJ) += hid-logitech-dj.o
|
|
obj-$(CONFIG_HID_MAGICMOUSE) += hid-magicmouse.o
|
|
obj-$(CONFIG_HID_MICROSOFT) += hid-microsoft.o
|
|
obj-$(CONFIG_HID_MONTEREY) += hid-monterey.o
|
|
obj-$(CONFIG_HID_MULTITOUCH) += hid-multitouch.o
|
|
obj-$(CONFIG_HID_NTRIG) += hid-ntrig.o
|
|
obj-$(CONFIG_HID_ORTEK) += hid-ortek.o
|
|
obj-$(CONFIG_HID_PRODIKEYS) += hid-prodikeys.o
|
|
obj-$(CONFIG_HID_PANTHERLORD) += hid-pl.o
|
|
obj-$(CONFIG_HID_PETALYNX) += hid-petalynx.o
|
|
obj-$(CONFIG_HID_PICOLCD) += hid-picolcd.o
|
|
obj-$(CONFIG_HID_PRIMAX) += hid-primax.o
|
|
obj-$(CONFIG_HID_ROCCAT) += hid-roccat.o
|
|
obj-$(CONFIG_HID_ROCCAT_COMMON) += hid-roccat-common.o
|
|
obj-$(CONFIG_HID_ROCCAT_ARVO) += hid-roccat-arvo.o
|
|
obj-$(CONFIG_HID_ROCCAT_ISKU) += hid-roccat-isku.o
|
|
obj-$(CONFIG_HID_ROCCAT_KONE) += hid-roccat-kone.o
|
|
obj-$(CONFIG_HID_ROCCAT_KONEPLUS) += hid-roccat-koneplus.o
|
|
obj-$(CONFIG_HID_ROCCAT_KOVAPLUS) += hid-roccat-kovaplus.o
|
|
obj-$(CONFIG_HID_ROCCAT_PYRA) += hid-roccat-pyra.o
|
|
obj-$(CONFIG_HID_SAMSUNG) += hid-samsung.o
|
|
obj-$(CONFIG_HID_SMARTJOYPLUS) += hid-sjoy.o
|
|
obj-$(CONFIG_HID_SONY) += hid-sony.o
|
|
obj-$(CONFIG_HID_SPEEDLINK) += hid-speedlink.o
|
|
obj-$(CONFIG_HID_SUNPLUS) += hid-sunplus.o
|
|
obj-$(CONFIG_HID_GREENASIA) += hid-gaff.o
|
|
obj-$(CONFIG_HID_THRUSTMASTER) += hid-tmff.o
|
|
obj-$(CONFIG_HID_TIVO) += hid-tivo.o
|
|
obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o
|
|
obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o
|
|
obj-$(CONFIG_HID_UCLOGIC) += hid-uclogic.o
|
|
obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o
|
|
obj-$(CONFIG_HID_ZYDACRON) += hid-zydacron.o
|
|
obj-$(CONFIG_HID_WACOM) += hid-wacom.o
|
|
obj-$(CONFIG_HID_WALTOP) += hid-waltop.o
|
|
obj-$(CONFIG_HID_WIIMOTE) += hid-wiimote.o
|
|
|
|
obj-$(CONFIG_USB_HID) += usbhid/
|
|
obj-$(CONFIG_USB_MOUSE) += usbhid/
|
|
obj-$(CONFIG_USB_KBD) += usbhid/
|
|
|