forked from Minki/linux
14bf62cde7
This Patch adds support for Kone gaming mouse from Roccat. It provides access to profiles, settings, firmware, weight, actual settings etc. through sysfs attributes. Event handling of this mouse differs from standard hid behaviour in that tilt button press is reported in each move event which results in strange behaviour if not handled by the driver. This is a heavily reworked version of the previously introduced driver. The changes include most of the previously raised concerns, memory leak and other fixes, code cleanups, adoption of additional achieved knowlege about the hardware and is (IMHO) a much better version than before even when I exchanged reduced USB-IO with a bigger memory consumption. I refused to implement one mentioned point: Removing the 'just-because-we-can' attributes. Motivation: Reading the clipped in weight: I'm no gamer and can't determine the usefulness of this feature but if the manufacturer implements such a feature it might make sense to someone and I would unwillingly limit the functionality besides its such a small feature. Reading the actual profile and dpi settings: Here I can testify that one can get lost of the actual settings when switching back and forth. The manufacturers windows driver has the ability for on-screen-display of the values and there is a mouse in the market that has an lcd on the underside of it to show these values. So I think this feature makes sense not only for me and shouldn't be removed. Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
#
|
|
# Makefile for the HID driver
|
|
#
|
|
hid-objs := 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-objs := hid-lg.o
|
|
ifdef CONFIG_LOGITECH_FF
|
|
hid-logitech-objs += hid-lgff.o
|
|
endif
|
|
ifdef CONFIG_LOGIRUMBLEPAD2_FF
|
|
hid-logitech-objs += hid-lg2ff.o
|
|
endif
|
|
ifdef CONFIG_LOGIG940_FF
|
|
hid-logitech-objs += hid-lg3ff.o
|
|
endif
|
|
|
|
obj-$(CONFIG_HID_3M_PCT) += hid-3m-pct.o
|
|
obj-$(CONFIG_HID_A4TECH) += hid-a4tech.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-drff.o
|
|
obj-$(CONFIG_HID_EZKEY) += hid-ezkey.o
|
|
obj-$(CONFIG_HID_GYRATION) += hid-gyration.o
|
|
obj-$(CONFIG_HID_KENSINGTON) += hid-kensington.o
|
|
obj-$(CONFIG_HID_KYE) += hid-kye.o
|
|
obj-$(CONFIG_HID_LOGITECH) += hid-logitech.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_MOSART) += hid-mosart.o
|
|
obj-$(CONFIG_HID_NTRIG) += hid-ntrig.o
|
|
obj-$(CONFIG_HID_ORTEK) += hid-ortek.o
|
|
obj-$(CONFIG_HID_QUANTA) += hid-quanta.o
|
|
obj-$(CONFIG_HID_PANTHERLORD) += hid-pl.o
|
|
obj-$(CONFIG_HID_PETALYNX) += hid-petalynx.o
|
|
obj-$(CONFIG_HID_ROCCAT_KONE) += hid-roccat-kone.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_STANTUM) += hid-stantum.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_TOPSEED) += hid-topseed.o
|
|
obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o
|
|
obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o
|
|
obj-$(CONFIG_HID_WACOM) += hid-wacom.o
|
|
|
|
obj-$(CONFIG_USB_HID) += usbhid/
|
|
obj-$(CONFIG_USB_MOUSE) += usbhid/
|
|
obj-$(CONFIG_USB_KBD) += usbhid/
|
|
|