mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-09-03 02:16:09 +02:00

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>
582 B
582 B
What: /sys/bus/drivers/corsair//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//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.