-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: corsair: Add Corsair Vengeance K90 driver
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>
- Loading branch information
Clément Vuchener
authored and
Jiri Kosina
committed
Sep 30, 2015
1 parent
851328f
commit 6f78193
Showing
6 changed files
with
703 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
What: /sys/bus/drivers/corsair/<dev>/macro_mode | ||
Date: August 2015 | ||
KernelVersion: 4.2 | ||
Contact: Clement Vuchener <clement.vuchener@gmail.com> | ||
Description: Get/set the current playback mode. "SW" for software mode | ||
where G-keys triggers their regular key codes. "HW" for | ||
hardware playback mode where the G-keys play their macro | ||
from the on-board memory. | ||
|
||
|
||
What: /sys/bus/drivers/corsair/<dev>/current_profile | ||
Date: August 2015 | ||
KernelVersion: 4.2 | ||
Contact: Clement Vuchener <clement.vuchener@gmail.com> | ||
Description: Get/set the current selected profile. Values are from 1 to 3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.