cb7cf3da0d
This patch add support for Pyra mobile gaming mouse from Roccat. It provides access to profiles, settings, actual settings etc. through sysfs attributes. This driver is conceptual similar to the existing Kone driver. 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>
99 lines
4.4 KiB
Plaintext
99 lines
4.4 KiB
Plaintext
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/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.
|
|
|
|
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/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.
|
|
|
|
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/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.
|
|
|
|
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/profile_settings
|
|
Date: August 2010
|
|
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 13 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>/profile[1-5]_settings
|
|
Date: August 2010
|
|
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 13 bytes in size.
|
|
This file is readonly.
|
|
|
|
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/profile_buttons
|
|
Date: August 2010
|
|
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 19 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>/profile[1-5]_buttons
|
|
Date: August 2010
|
|
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 19 bytes in size.
|
|
This file is readonly.
|
|
|
|
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/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.
|
|
|
|
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/settings
|
|
Date: August 2010
|
|
Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
|
|
Description: When read, this file returns the settings stored in the mouse.
|
|
The size of the data is 3 bytes and holds information on the
|
|
startup_profile.
|
|
When written, this file lets write settings back to the mouse.
|
|
The data has to be 3 bytes long. The mouse will reject invalid
|
|
data.
|