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-koneplus.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  koneplus_talk
 
struct  koneplus_actual_profile
 
struct  koneplus_profile_settings
 
struct  koneplus_profile_buttons
 
struct  koneplus_macro
 
struct  koneplus_info
 
struct  koneplus_e
 
struct  koneplus_sensor
 
struct  koneplus_firmware_write
 
struct  koneplus_firmware_write_control
 
struct  koneplus_tcu
 
struct  koneplus_tcu_image
 
struct  koneplus_mouse_report_button
 
struct  koneplus_roccat_report
 
struct  koneplus_device
 

Enumerations

enum  koneplus_control_requests { KONEPLUS_CONTROL_REQUEST_PROFILE_SETTINGS = 0x80, KONEPLUS_CONTROL_REQUEST_PROFILE_BUTTONS = 0x90 }
 
enum  koneplus_commands {
  KONEPLUS_COMMAND_ACTUAL_PROFILE = 0x5, KONEPLUS_COMMAND_PROFILE_SETTINGS = 0x6, KONEPLUS_COMMAND_PROFILE_BUTTONS = 0x7, KONEPLUS_COMMAND_MACRO = 0x8,
  KONEPLUS_COMMAND_INFO = 0x9, KONEPLUS_COMMAND_TCU = 0xc, KONEPLUS_COMMAND_E = 0xe, KONEPLUS_COMMAND_SENSOR = 0xf,
  KONEPLUS_COMMAND_TALK = 0x10, KONEPLUS_COMMAND_FIRMWARE_WRITE = 0x1b, KONEPLUS_COMMAND_FIRMWARE_WRITE_CONTROL = 0x1c
}
 
enum  koneplus_mouse_report_numbers { KONEPLUS_MOUSE_REPORT_NUMBER_HID = 1, KONEPLUS_MOUSE_REPORT_NUMBER_AUDIO = 2, KONEPLUS_MOUSE_REPORT_NUMBER_BUTTON = 3 }
 
enum  koneplus_mouse_report_button_types {
  KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE = 0x20, KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH = 0x60, KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER = 0x80, KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI = 0xb0,
  KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY = 0xc0, KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_MULTIMEDIA = 0xf0, KONEPLUS_MOUSE_REPORT_TALK = 0xff
}
 
enum  koneplus_mouse_report_button_action { KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_PRESS = 0, KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_RELEASE = 1 }
 

Functions

struct koneplus_actual_profile __attribute__ ((__packed__))
 

Variables

struct koneplus_talk __packed
 
uint8_t command
 
uint8_t size
 
uint8_t actual_profile
 
uint8_t number
 
uint8_t advanced_sensitivity
 
uint8_t sensitivity_x
 
uint8_t sensitivity_y
 
uint8_t cpi_levels_enabled
 
uint8_t cpi_levels_x [5]
 
uint8_t cpi_startup_level
 
uint8_t cpi_levels_y [5]
 
uint8_t unknown1
 
uint8_t polling_rate
 
uint8_t lights_enabled
 
uint8_t light_effect_mode
 
uint8_t color_flow_effect
 
uint8_t light_effect_type
 
uint8_t light_effect_speed
 
uint8_t lights [16]
 
uint16_t checksum
 
uint8_t data [72]
 
uint8_t profile
 
uint8_t button
 
uint8_t firmware_version
 
uint8_t unknown [3]
 
uint8_t value
 
uint16_t usb_command
 
enum koneplus_commands __attribute__
 
uint8_t report_number
 
uint8_t zero1
 
uint8_t type
 
uint8_t data1
 
uint8_t data2
 
uint8_t zero2
 

Enumeration Type Documentation

Enumerator:
KONEPLUS_COMMAND_ACTUAL_PROFILE 
KONEPLUS_COMMAND_PROFILE_SETTINGS 
KONEPLUS_COMMAND_PROFILE_BUTTONS 
KONEPLUS_COMMAND_MACRO 
KONEPLUS_COMMAND_INFO 
KONEPLUS_COMMAND_TCU 
KONEPLUS_COMMAND_E 
KONEPLUS_COMMAND_SENSOR 
KONEPLUS_COMMAND_TALK 
KONEPLUS_COMMAND_FIRMWARE_WRITE 
KONEPLUS_COMMAND_FIRMWARE_WRITE_CONTROL 

Definition at line 118 of file hid-roccat-koneplus.h.

Enumerator:
KONEPLUS_CONTROL_REQUEST_PROFILE_SETTINGS 
KONEPLUS_CONTROL_REQUEST_PROFILE_BUTTONS 

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

Enumerator:
KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_PRESS 
KONEPLUS_MOUSE_REPORT_BUTTON_ACTION_RELEASE 

Definition at line 171 of file hid-roccat-koneplus.h.

Enumerator:
KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_PROFILE 
KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_QUICKLAUNCH 
KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_TIMER 
KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_CPI 
KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_SENSITIVITY 
KONEPLUS_MOUSE_REPORT_BUTTON_TYPE_MULTIMEDIA 
KONEPLUS_MOUSE_REPORT_TALK 

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

Enumerator:
KONEPLUS_MOUSE_REPORT_NUMBER_HID 
KONEPLUS_MOUSE_REPORT_NUMBER_AUDIO 
KONEPLUS_MOUSE_REPORT_NUMBER_BUTTON 

Definition at line 132 of file hid-roccat-koneplus.h.

Function Documentation

struct koneplus_actual_profile __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

Variable Documentation

uint8_t actual_profile

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

uint8_t advanced_sensitivity

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

uint8_t button

Definition at line 75 of file hid-roccat-koneplus.h.

uint16_t checksum

Definition at line 73 of file hid-roccat-koneplus.h.

uint8_t color_flow_effect

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

Definition at line 33 of file hid-roccat-koneplus.h.

uint8_t cpi_levels_enabled

Definition at line 61 of file hid-roccat-koneplus.h.

uint8_t cpi_levels_x[5]

Definition at line 62 of file hid-roccat-koneplus.h.

uint8_t cpi_levels_y[5]

Definition at line 64 of file hid-roccat-koneplus.h.

uint8_t cpi_startup_level

Definition at line 63 of file hid-roccat-koneplus.h.

uint8_t data[1024]

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

uint8_t data1

Definition at line 150 of file hid-roccat-koneplus.h.

uint8_t data2

Definition at line 151 of file hid-roccat-koneplus.h.

Definition at line 81 of file hid-roccat-koneplus.h.

uint8_t light_effect_mode

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

uint8_t light_effect_speed

Definition at line 71 of file hid-roccat-koneplus.h.

uint8_t light_effect_type

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

uint8_t lights[16]

Definition at line 72 of file hid-roccat-koneplus.h.

uint8_t lights_enabled

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

uint8_t number

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

uint8_t polling_rate

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

uint8_t profile

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

uint8_t report_number

Definition at line 147 of file hid-roccat-koneplus.h.

uint8_t sensitivity_x

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

uint8_t sensitivity_y

Definition at line 60 of file hid-roccat-koneplus.h.

uint8_t size

Definition at line 34 of file hid-roccat-koneplus.h.

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

uint8_t unknown[2]

Definition at line 82 of file hid-roccat-koneplus.h.

uint8_t unknown1

Definition at line 65 of file hid-roccat-koneplus.h.

uint16_t usb_command

Definition at line 111 of file hid-roccat-koneplus.h.

uint8_t value

Definition at line 111 of file hid-roccat-koneplus.h.

uint8_t zero1

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

uint8_t zero2

Definition at line 152 of file hid-roccat-koneplus.h.