Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
hid-roccat-pyra.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  pyra_b
 
struct  pyra_settings
 
struct  pyra_profile_settings
 
struct  pyra_profile_buttons
 
struct  pyra_info
 
struct  pyra_mouse_event_button
 
struct  pyra_mouse_event_audio
 
struct  pyra_roccat_report
 
struct  pyra_device
 

Enumerations

enum  pyra_control_requests { PYRA_CONTROL_REQUEST_PROFILE_SETTINGS = 0x10, PYRA_CONTROL_REQUEST_PROFILE_BUTTONS = 0x20 }
 
enum  pyra_commands {
  PYRA_COMMAND_SETTINGS = 0x5, PYRA_COMMAND_PROFILE_SETTINGS = 0x6, PYRA_COMMAND_PROFILE_BUTTONS = 0x7, PYRA_COMMAND_INFO = 0x9,
  PYRA_COMMAND_B = 0xb
}
 
enum  pyra_mouse_report_numbers { PYRA_MOUSE_REPORT_NUMBER_HID = 1, PYRA_MOUSE_REPORT_NUMBER_AUDIO = 2, PYRA_MOUSE_REPORT_NUMBER_BUTTON = 3 }
 
enum  pyra_mouse_event_audio_types { PYRA_MOUSE_EVENT_AUDIO_TYPE_MUTE = 0xe2, PYRA_MOUSE_EVENT_AUDIO_TYPE_VOLUME_UP = 0xe9, PYRA_MOUSE_EVENT_AUDIO_TYPE_VOLUME_DOWN = 0xea }
 
enum  pyra_mouse_event_button_types {
  PYRA_MOUSE_EVENT_BUTTON_TYPE_TILT = 0x10, PYRA_MOUSE_EVENT_BUTTON_TYPE_PROFILE_1 = 0x20, PYRA_MOUSE_EVENT_BUTTON_TYPE_PROFILE_2 = 0x30, PYRA_MOUSE_EVENT_BUTTON_TYPE_MACRO = 0x40,
  PYRA_MOUSE_EVENT_BUTTON_TYPE_SHORTCUT = 0x50, PYRA_MOUSE_EVENT_BUTTON_TYPE_QUICKLAUNCH = 0x60, PYRA_MOUSE_EVENT_BUTTON_TYPE_CPI = 0xb0, PYRA_MOUSE_EVENT_BUTTON_TYPE_SENSITIVITY = 0xc0,
  PYRA_MOUSE_EVENT_BUTTON_TYPE_MULTIMEDIA = 0xf0
}
 
enum  { PYRA_MOUSE_EVENT_BUTTON_PRESS = 0, PYRA_MOUSE_EVENT_BUTTON_RELEASE = 1 }
 

Functions

struct pyra_b __attribute__ ((__packed__))
 

Variables

uint8_t command
 
uint8_t size
 
uint8_t unknown
 
enum pyra_control_requests __attribute__
 
uint8_t startup_profile
 
uint8_t number
 
uint8_t xysync
 
uint8_t x_sensitivity
 
uint8_t y_sensitivity
 
uint8_t x_cpi
 
uint8_t y_cpi
 
uint8_t lightswitch
 
uint8_t light_effect
 
uint8_t handedness
 
uint16_t checksum
 
uint8_t buttons [14]
 
uint8_t firmware_version
 
uint8_t unknown1
 
uint8_t unknown2
 
uint8_t unknown3
 
uint8_t report_number
 
uint8_t type
 
uint8_t data1
 
uint8_t data2
 
uint8_t unused
 
uint8_t value
 
uint8_t key
 

Enumeration Type Documentation

anonymous enum
Enumerator:
PYRA_MOUSE_EVENT_BUTTON_PRESS 
PYRA_MOUSE_EVENT_BUTTON_RELEASE 

Definition at line 137 of file hid-roccat-pyra.h.

Enumerator:
PYRA_COMMAND_SETTINGS 
PYRA_COMMAND_PROFILE_SETTINGS 
PYRA_COMMAND_PROFILE_BUTTONS 
PYRA_COMMAND_INFO 
PYRA_COMMAND_B 

Definition at line 66 of file hid-roccat-pyra.h.

Enumerator:
PYRA_CONTROL_REQUEST_PROFILE_SETTINGS 
PYRA_CONTROL_REQUEST_PROFILE_BUTTONS 

Definition at line 23 of file hid-roccat-pyra.h.

Enumerator:
PYRA_MOUSE_EVENT_AUDIO_TYPE_MUTE 
PYRA_MOUSE_EVENT_AUDIO_TYPE_VOLUME_UP 
PYRA_MOUSE_EVENT_AUDIO_TYPE_VOLUME_DOWN 

Definition at line 95 of file hid-roccat-pyra.h.

Enumerator:
PYRA_MOUSE_EVENT_BUTTON_TYPE_TILT 
PYRA_MOUSE_EVENT_BUTTON_TYPE_PROFILE_1 
PYRA_MOUSE_EVENT_BUTTON_TYPE_PROFILE_2 
PYRA_MOUSE_EVENT_BUTTON_TYPE_MACRO 
PYRA_MOUSE_EVENT_BUTTON_TYPE_SHORTCUT 
PYRA_MOUSE_EVENT_BUTTON_TYPE_QUICKLAUNCH 
PYRA_MOUSE_EVENT_BUTTON_TYPE_CPI 
PYRA_MOUSE_EVENT_BUTTON_TYPE_SENSITIVITY 
PYRA_MOUSE_EVENT_BUTTON_TYPE_MULTIMEDIA 

Definition at line 101 of file hid-roccat-pyra.h.

Enumerator:
PYRA_MOUSE_REPORT_NUMBER_HID 
PYRA_MOUSE_REPORT_NUMBER_AUDIO 
PYRA_MOUSE_REPORT_NUMBER_BUTTON 

Definition at line 74 of file hid-roccat-pyra.h.

Function Documentation

struct pyra_b __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

Variable Documentation

uint8_t buttons[14]

Definition at line 59 of file hid-roccat-pyra.h.

uint16_t checksum

Definition at line 59 of file hid-roccat-pyra.h.

Definition at line 22 of file hid-roccat-pyra.h.

uint8_t data1

Definition at line 90 of file hid-roccat-pyra.h.

uint8_t data2

Definition at line 91 of file hid-roccat-pyra.h.

Definition at line 67 of file hid-roccat-pyra.h.

uint8_t handedness

Definition at line 58 of file hid-roccat-pyra.h.

uint8_t key

Definition at line 149 of file hid-roccat-pyra.h.

uint8_t light_effect

Definition at line 57 of file hid-roccat-pyra.h.

uint8_t lightswitch

Definition at line 56 of file hid-roccat-pyra.h.

uint8_t number

Definition at line 50 of file hid-roccat-pyra.h.

uint8_t report_number

Definition at line 87 of file hid-roccat-pyra.h.

uint8_t size

Definition at line 23 of file hid-roccat-pyra.h.

uint8_t startup_profile

Definition at line 35 of file hid-roccat-pyra.h.

Definition at line 89 of file hid-roccat-pyra.h.

uint8_t unknown

Definition at line 24 of file hid-roccat-pyra.h.

uint8_t unknown1

Definition at line 68 of file hid-roccat-pyra.h.

uint8_t unknown2

Definition at line 69 of file hid-roccat-pyra.h.

uint8_t unknown3

Definition at line 70 of file hid-roccat-pyra.h.

Definition at line 95 of file hid-roccat-pyra.h.

uint8_t value

Definition at line 148 of file hid-roccat-pyra.h.

uint8_t x_cpi

Definition at line 54 of file hid-roccat-pyra.h.

uint8_t x_sensitivity

Definition at line 52 of file hid-roccat-pyra.h.

uint8_t xysync

Definition at line 51 of file hid-roccat-pyra.h.

uint8_t y_cpi

Definition at line 55 of file hid-roccat-pyra.h.

uint8_t y_sensitivity

Definition at line 53 of file hid-roccat-pyra.h.