mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 08:02:17 +00:00
6f78193ee9
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>
16 lines
582 B
Plaintext
16 lines
582 B
Plaintext
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.
|