linux/drivers/hid/hid-roccat-konepure.h
<<
crip8 //spa> 8 //form 8 /a crip8 href="../linux+v3 /t.2/drivers/hid/hid-roccat-konepure.h">crip8 /img src="../.static/gfx/right.png" alt=">>">cr//spa> cr/spa> class="lxr_search">crip="+search" method="post" onsubmit="return do_search(this);">crip8 /input typt">hidden" namt">navtarget" cript">">crip8 /input typt">text" namt">search" id">search">crip8 /buttvastypt">submit">Search cr/spa> class="lxr_prefs" 8 /a href="+prefs?return=drivers/hid/hid-roccat-konepure.h"crip8 onclick="return ajax_prefs();">crip8 Prefs 8 //a>cr//spa> ip8 //div ip8 /form acipt>="ajax+*" method="post" onsubmit="return false;">cr/input typt">hidden" namt">ajax_lookup" id">ajax_lookup" cript">">cip8 //form cip8 /div class="headingbottvm">
search_results" class="search_results" 8 ip8 //div /div id">content"> /div id">file_contents"
63/24/e5682d33a5caa4538c45b382eae36a73238f_3/0"
L1" class="line" namt">L1">   1//a>#ifndef /a href="+code=__HID_ROCCAT_KONEPURE_H" class="sref">__HID_ROCCAT_KONEPURE_H//a>cL2" class="line" namt">L2">   2//a>#define /a href="+code=__HID_ROCCAT_KONEPURE_H" class="sref">__HID_ROCCAT_KONEPURE_H//a>cL3" class="line" namt">L3">   3//a>cL4" class="line" namt">L4">   4//a>/spa> class="comment">/*//spa>

L5" class="line" namt">L5">   5//a>/spa> class="comment"> * Copyright (c) 2012 Stefa> Achatz <erazor_de@users.sourceforge.net>//spa>

L6" class="line" namt">L6">   6//a>/spa> class="comment"> *///spa>

L7" class="line" namt">L7">   7//a>cL8" class="line" namt">L8">   8//a>/spa> class="comment">/*//spa>

L9" class="line" namt">L9">   9//a>/spa> class="comment"> * This program is free software; you ca> redistribute it and/or modify it//spa>

L10" class="line" namt">L10">  ion>a>/spa> class="comment"> * under the terms of the GNU General Public License as published by the Free//spa>

L11" class="line" namt">L11">  11n>a>/spa> class="comment"> * Software Foundaipt>; either versavas2 of the License, or (at your cript>)//spa>

L12" class="line" namt">L12">  12n>a>/spa> class="comment"> * any later versava.//spa>

L13" class="line" namt">L13">  13//a>/spa> class="comment"> *///spa>

L14" class="line" namt">L14">  14//a>cL15" class="line" namt">L15">  15//a>#include <linux/typts.h//a>>cL16" class="line" namt">L16">  16//a>cL17" class="line" namt">L17">  17//a>enum {cL18" class="line" namt">L18">  18//a>        /a href="+code=KONEPURE_SIZE_ACTUAL_PROFILE" class="sref">KONEPURE_SIZE_ACTUAL_PROFILE//a> = 0x03,cL19" class="line" namt">L19">  19//a>        /a href="+code=KONEPURE_SIZE_CONTROL" class="sref">KONEPURE_SIZE_CONTROL//a> = 0x03,cL20" class="line" namt">L20">  20//a>        /a href="+code=KONEPURE_SIZE_FIRMWARE_WRITE" class="sref">KONEPURE_SIZE_FIRMWARE_WRITE//a> = 0x0402,cL21" class="line" namt">L21">  21//a>        /a href="+code=KONEPURE_SIZE_INFO" class="sref">KONEPURE_SIZE_INFO//a> = 0x06,cL22" class="line" namt">L22">  22//a>        /a href="+code=KONEPURE_SIZE_MACRO" class="sref">KONEPURE_SIZE_MACRO//a> = 0x0822,cL23" class="line" namt">L23">  23//a>        /a href="+code=KONEPURE_SIZE_PROFILE_SETTINGS" class="sref">KONEPURE_SIZE_PROFILE_SETTINGS//a> = 0x1f,cL24" class="line" namt">L24">  24//a>        /a href="+code=KONEPURE_SIZE_PROFILE_BUTTONS" class="sref">KONEPURE_SIZE_PROFILE_BUTTONS//a> = 0x3b,cL25" class="line" namt">L25">  25//a>        /a href="+code=KONEPURE_SIZE_SENSOR" class="sref">KONEPURE_SIZE_SENSOR//a> = 0x06,cL26" class="line" namt">L26">  26//a>        /a href="+code=KONEPURE_SIZE_TALK" class="sref">KONEPURE_SIZE_TALK//a> = 0x10,cL27" class="line" namt">L27">  27//a>        /a href="+code=KONEPURE_SIZE_TCU" class="sref">KONEPURE_SIZE_TCU//a> = 0x04,cL28" class="line" namt">L28">  28//a>        /a href="+code=KONEPURE_SIZE_TCU_IMAGE" class="sref">KONEPURE_SIZE_TCU_IMAGE//a> = 0x0404,cL29" class="line" namt">L29">  29//a>};cL30" class="line" namt">L30">  30//a>cL31" class="line" namt">L31">  31//a>enum /a href="+code=konepure_control_requests" class="sref">konepure_control_requests//a> {cL32" class="line" namt">L32">  32//a>        /a href="+code=KONEPURE_CONTROL_REQUEST_GENERAL" class="sref">KONEPURE_CONTROL_REQUEST_GENERAL//a> = 0x80,cL33" class="line" namt">L33">  33//a>        /a href="+code=KONEPURE_CONTROL_REQUEST_BUTTONS" class="sref">KONEPURE_CONTROL_REQUEST_BUTTONS//a> = 0x90,cL34" class="line" namt">L34">  34//a>};cL35" class="line" namt">L35">  35//a>cL36" class="line" namt">L36">  36//a>enum /a href="+code=konepure_commands" class="sref">konepure_commands//a> {cL37" class="line" namt">L37">  37//a>        /a href="+code=KONEPURE_COMMAND_CONTROL" class="sref">KONEPURE_COMMAND_CONTROL//a> = 0x04,cL38" class="line" namt">L38">  38//a>        /a href="+code=KONEPURE_COMMAND_ACTUAL_PROFILE" class="sref">KONEPURE_COMMAND_ACTUAL_PROFILE//a> = 0x05,cL39" class="line" namt">L39">  39//a>        /a href="+code=KONEPURE_COMMAND_PROFILE_SETTINGS" class="sref">KONEPURE_COMMAND_PROFILE_SETTINGS//a> = 0x06,cL40" class="line" namt">L40">  40//a>        /a href="+code=KONEPURE_COMMAND_PROFILE_BUTTONS" class="sref">KONEPURE_COMMAND_PROFILE_BUTTONS//a> = 0x07,cL41" class="line" namt">L41">  41//a>        /a href="+code=KONEPURE_COMMAND_MACRO" class="sref">KONEPURE_COMMAND_MACRO//a> = 0x08,cL42" class="line" namt">L42">  42//a>        /a href="+code=KONEPURE_COMMAND_INFO" class="sref">KONEPURE_COMMAND_INFO//a> = 0x09,cL43" class="line" namt">L43">  43//a>        /a href="+code=KONEPURE_COMMAND_TCU" class="sref">KONEPURE_COMMAND_TCU//a> = 0x0c,cL44" class="line" namt">L44">  44//a>        /a href="+code=KONEPURE_COMMAND_TCU_IMAGE" class="sref">KONEPURE_COMMAND_TCU_IMAGE//a> = 0x0c,cL45" class="line" namt">L45">  45//a>        /a href="+code=KONEPURE_COMMAND_E" class="sref">KONEPURE_COMMAND_E//a> = 0x0e,cL46" class="line" namt">L46">  46//a>        /a href="+code=KONEPURE_COMMAND_SENSOR" class="sref">KONEPURE_COMMAND_SENSOR//a> = 0x0f,cL47" class="line" namt">L47">  47//a>        /a href="+code=KONEPURE_COMMAND_TALK" class="sref">KONEPURE_COMMAND_TALK//a> = 0x10,cL48" class="line" namt">L48">  48//a>        /a href="+code=KONEPURE_COMMAND_FIRMWARE_WRITE" class="sref">KONEPURE_COMMAND_FIRMWARE_WRITE//a> = 0x1b,cL49" class="line" namt">L49">  49//a>        /a href="+code=KONEPURE_COMMAND_FIRMWARE_WRITE_CONTROL" class="sref">KONEPURE_COMMAND_FIRMWARE_WRITE_CONTROL//a> = 0x1c,cL50" class="line" namt">L50">  50//a>};cL51" class="line" namt">L51">  51//a>cL52" class="line" namt">L52">  52//a>enum {cL53" class="line" namt">L53">  53//a>        /a href="+code=KONEPURE_MOUSE_REPORT_NUMBER_BUTTON" class="sref">KONEPURE_MOUSE_REPORT_NUMBER_BUTTON//a> = 3,cL54" class="line" namt">L54">  54//a>};cL55" class="line" namt">L55">  55//a>cL56" class="line" namt">L56">  56//a>struct /a href="+code=konepure_mouse_report_buttva" class="sref">konepure_mouse_report_buttva//a> {cL57" class="line" namt">L57">  57//a>        /a href="+code=uint8_t" class="sref">uint8_t//a> /a href="+code=report_number" class="sref">report_number//a>; /spa> class="comment">/* always KONEPURE_MOUSE_REPORT_NUMBER_BUTTON *///spa>

L58" class="line" namt">L58">  58//a>        /a href="+code=uint8_t" class="sref">uint8_t//a> /a href="+code=zero" class="sref">zero//a>;
L59" class="line" namt">L59">  59//a>        /a href="+code=uint8_t" class="sref">uint8_t//a> /a href="+code=typt" class="sref">typt//a>;
L60" class="line" namt">L60">  60//a>        /a href="+code=uint8_t" class="sref">uint8_t//a> /a href="+code=data1" class="sref">data1//a>;
L61" class="line" namt">L61">  61//a>        /a href="+code=uint8_t" class="sref">uint8_t//a> /a href="+code=data2" class="sref">data2//a>;
L62" class="line" namt">L62">  62//a>        /a href="+code=uint8_t" class="sref">uint8_t//a> /a href="+code=zero2" class="sref">zero2//a>;
L63" class="line" namt">L63">  63//a>        /a href="+code=uint8_t" class="sref">uint8_t//a> /a href="+code=unknowa" class="sref">unknowa//a>[2];
L64" class="line" namt">L64">  64//a>} /a href="+code=__packed" class="sref">__packed//a>;
L65" class="line" namt">L65">  65//a>cL66" class="line" namt">L66">  66//a>struct /a href="+code=konepure_devict" class="sref">konepure_devict//a> {cL67" class="line" namt">L67">  67//a>        int /a href="+code=roccat_claimed" class="sref">roccat_claimed//a>;
L68" class="line" namt">L68">  68//a>        int /a href="+code=chrdev_minor" class="sref">chrdev_minor//a>;
L69" class="line" namt">L69">  69//a>        struct /a href="+code=mutex" class="sref">mutex//a> /a href="+code=konepure_lock" class="sref">konepure_lock//a>;
L70" class="line" namt">L70">  70//a>};cL71" class="line" namt">L71">  71//a>cL72" class="line" namt">L72">  72//a>#endifcL73" class="line" namt">L73">  73//a>//pre>
The original LXR software by the LXR community//a>, this experimental versavasby lxr@linux.no//a>. //div /div class="subfooter"> lxr.linux.no kindly hosted by Redpill Linpro AS//a>, provider of Linux consulting and operaipt>s servicts since 1995. //div //body //html