summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-corsair.c
Commit message (Collapse)AuthorAgeFilesLines
* HID: corsair: fix mapping of non-keyboard usagesClément Vuchener2016-02-231-0/+3
| | | | | | | | This fixes a bug where the Volume Up key was ignored because it uses the same usage code as G18. Special Corsair usage codes are in the keyboard page, other pages should be left to the generic driver. Signed-off-by: Clément Vuchener <clement.vuchener@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: corsair: Convert to use module_hid_driverAxel Lin2015-12-281-12/+1
| | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Clément Vuchener <clement.vuchener@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: corsair: boolify struct k90_led.removedJiri Kosina2015-09-301-6/+6
| | | | | | | 'removed' field of struct k90_led is in its nature bool, let's use it that way. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* HID: corsair: Add Corsair Vengeance K90 driverClément Vuchener2015-09-301-0/+673
This patch implements a HID driver for the Corsair Vengeance K90 keyboard. It fixes the behaviour of the keys using incorrect HID usage codes and exposes the macro playback mode and current profile to the user space through sysfs attributes. It also adds two LED class devices controlling the "record" LED and the backlight. Signed-off-by: Clément Vuchener <clement.vuchener@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
OpenPOWER on IntegriCloud