HID: roccat: propagate special events of roccat hardware to userspace
authorStefan Achatz <erazor_de@users.sourceforge.net>
Wed, 19 May 2010 16:55:16 +0000 (18:55 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 25 May 2010 07:57:03 +0000 (09:57 +0200)
commit206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378
tree9699132bf54da1b36560208892a4067bd889a992
parentc2fd1a4ebf9127c280d227acb635eb1df213439c
HID: roccat: propagate special events of roccat hardware to userspace

Module roccat is a char device used to report special events of roccat hardware
to userland. These events include requests for on-screen-display of profile or
dpi settings or requests for execution of macro sequences that are not stored
in device. The information in these events depends on hid device implementation
and contains data that is not available in a single hid event or else hidraw
could have been used.

It is inspired by hidraw, but uses only one circular buffer for all readers.
The device is as generic as possible so that the functionality is usable by all
(kone and upcomming) roccat device drivers.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-roccat-kone.c
drivers/hid/hid-roccat-kone.h
drivers/hid/hid-roccat.c [new file with mode: 0644]
drivers/hid/hid-roccat.h [new file with mode: 0644]