-
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.
Partially removed unneeded informations and data caching. Moved code nearer to format of newer drivers. Added "info" sysfs attribute to support device reset and deprecate "firmware_version" attribute. 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
Nov 12, 2012
1 parent
94a8fcf
commit be34380
Showing
4 changed files
with
198 additions
and
257 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,48 @@ | ||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_cpi | ||
Date: August 2010 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: It is possible to switch the cpi setting of the mouse with the | ||
press of a button. | ||
When read, this file returns the raw number of the actual cpi | ||
setting reported by the mouse. This number has to be further | ||
processed to receive the real dpi value. | ||
|
||
VALUE DPI | ||
1 400 | ||
2 800 | ||
4 1600 | ||
|
||
This file is readonly. | ||
Has never been used. If bookkeeping is done, it's done in userland tools. | ||
Users: http://roccat.sourceforge.net | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_profile | ||
Date: August 2010 | ||
Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
Description: When read, this file returns the number of the actual profile in | ||
range 0-4. | ||
This file is readonly. | ||
Please use binary attribute "settings" which provides this information. | ||
Users: http://roccat.sourceforge.net | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/firmware_version | ||
Date: August 2010 | ||
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 138 means 1.38 | ||
This file is readonly. | ||
Please use binary attribute "info" which provides this information. | ||
Users: http://roccat.sourceforge.net | ||
|
||
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/startup_profile | ||
Date: August 2010 | ||
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 profile | ||
that's active when the mouse is powered on. | ||
This file is readonly. | ||
Please use binary attribute "settings" which provides this information. | ||
Users: http://roccat.sourceforge.net |
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.