-
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: roccat: Add support for Kova[+] mouse
This patch adds support for Roccat Kova[+] mouse. Userland tools can soon be found at http://sourceforge.net/projects/roccat Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
- Loading branch information
Stefan Achatz
authored and
Jiri Kosina
committed
Feb 3, 2011
1 parent
5772f63
commit 0e70f97
Showing
7 changed files
with
974 additions
and
0 deletions.
There are no files selected for viewing
91 changes: 91 additions & 0 deletions
91
Documentation/ABI/testing/sysfs-driver-hid-roccat-kovaplus
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,91 @@ | ||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_cpi | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The integer value of this attribute ranges from 1-4. | ||
When read, this attribute returns the number of the active | ||
cpi level. | ||
This file is readonly. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_profile | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The integer value of this attribute ranges from 0-4. | ||
When read, this attribute returns the number of the active | ||
profile. | ||
When written, the mouse activates this profile immediately. | ||
The profile that's active when powered down is the same that's | ||
active when the mouse is powered on. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_sensitivity_x | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The integer value of this attribute ranges from 1-10. | ||
When read, this attribute returns the number of the actual | ||
sensitivity in x direction. | ||
This file is readonly. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/actual_sensitivity_y | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The integer value of this attribute ranges from 1-10. | ||
When read, this attribute returns the number of the actual | ||
sensitivity in y direction. | ||
This file is readonly. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/firmware_version | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: When read, this file returns the raw integer version number of the | ||
firmware reported by the mouse. Using the integer value eases | ||
further usage in other programs. To receive the real version | ||
number the decimal point has to be shifted 2 positions to the | ||
left. E.g. a returned value of 121 means 1.21 | ||
This file is readonly. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile_buttons | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The mouse can store 5 profiles which can be switched by the | ||
press of a button. A profile is split in settings and buttons. | ||
profile_buttons holds informations about button layout. | ||
When written, this file lets one write the respective profile | ||
buttons back to the mouse. The data has to be 23 bytes long. | ||
The mouse will reject invalid data. | ||
Which profile to write is determined by the profile number | ||
contained in the data. | ||
This file is writeonly. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile[1-5]_buttons | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The mouse can store 5 profiles which can be switched by the | ||
press of a button. A profile is split in settings and buttons. | ||
profile_buttons holds informations about button layout. | ||
When read, these files return the respective profile buttons. | ||
The returned data is 23 bytes in size. | ||
This file is readonly. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile_settings | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The mouse can store 5 profiles which can be switched by the | ||
press of a button. A profile is split in settings and buttons. | ||
profile_settings holds informations like resolution, sensitivity | ||
and light effects. | ||
When written, this file lets one write the respective profile | ||
settings back to the mouse. The data has to be 16 bytes long. | ||
The mouse will reject invalid data. | ||
Which profile to write is determined by the profile number | ||
contained in the data. | ||
This file is writeonly. | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kovaplus/roccatkovaplus<minor>/profile[1-5]_settings | ||
Date: January 2011 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: The mouse can store 5 profiles which can be switched by the | ||
press of a button. A profile is split in settings and buttons. | ||
profile_settings holds informations like resolution, sensitivity | ||
and light effects. | ||
When read, these files return the respective profile settings. | ||
The returned data is 16 bytes in size. | ||
This file is readonly. |
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
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.