linux/drivers/hid/hid-chicony.c
<<
>><1.6.5class="lxr_searchny.c">< nput typvalhidden" namvalnavtarbet" ption> ny.c"> nput typvaltio12" > v2.6.23.12 L5 >dre5f=xr>< * Copy"> L6 >dre6f=xr>< * Copy"> L7 >dre7f=xr>< * Copy"> L8 >dre8f=xr>< * Copy"> L9 >dre9f=xr>< * Copy"> L10 >dr valxr>< */earchny. L11 >dr11f=xr. L12 >dr12f=xr>< /*earchny. L13 >dr13f=xr>< * Tdde program de free software; you c L14 >dr14f=xr>< * und the terms of the GNU General Public License as published by the Freeearchny. L15 >dr15f=xr>< * Software Founda ons; either v2 of the License, .. (at your L16 >dr16f=xr>< * a/. later .earchny. L17 >dr17f=xr>< */earchny. L18 >dr18f=xr. L19 >dr19f=xr#include </hid-/device.hf=xrclas. L20 >dr20f=xr#include </hid-/vtarb.hf=xrclas. L21 >dr21f=xr#include </hid-/g s.hf=xrclas. L22 >dr22f=xr#include </hid-/module.hf=xrclas. L23 >dr23f=xr. L24 >dr24f=xr#include " g srids.hf=xrcquot;. L25 >dr25f=xr. L26 >dr26f=xr#definex+v3ivers/+code= ,_map_key_cln> "/ ac ,_map_key_cln> f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cln> "/ acg s_map_usage_cln> f=xr(+v3ivers/+code=hi"/ acg f=xr,efv3ivers/+code=usage"/ acusagef=xr,efv3ivers/+code=bit"/ acbiteaxr,efv3ivers/+code=max"/ acmaxeaxr,e\. L27 >dr27f=xr fv3ivers/+code=EV_KEY"/ acEV_KEYxr,e\.(+v3ivers/+code= "/ ac f=xr))e= "/ ac f=xr))e= "/ ac _alue=u4="../.st#L19 valueL19 v ac lue="=16.35 f=xr)5/5 v acg f=xalueL2e=EV_*="=16.35g alu1ref">g sucue="=16.35g f=x5 v ae=EV_*="=16.35usagef=xr,efv3ivers/+.st#L19 valueL19 v acg f=xfielde=EV_*="=16.35gfielde=EV">g sucue="=16.35biteaxr,efv3i f=xp1refe=EV_*="=16.35biteaxr,efv3ivers/+codene v"> L3 >dre3f=xr>< maxeaxr,e\. lue*="=16.35/{.st#L19 valueL19 v acbiteaxr,efv3ivers/+cod- v ac"=16.35biteaxr,efv3iHID_USAGE_PAGE">g s_!=e="=16.35biteaxr,efv3iHID_UP_MSVENDOR ac **earchny. 24 v 33e=EV_KEY"/ ac L25 >dr25f=xr. L26 >dr26f=xr#definex+v3i3 maxeaxr,e\.de=usage"/ ac f=xr))e= "/ ac usagef=xr,efv3ivers/- v ac"=16.35g5 v ae=EV- v ac"=16.35maxeaxr,e\. ac L25 >dr25f=xr. "/ ac<3op1re36e=EV_KEY"/ aswitch> f=xr))e= "/ acbiteaxr,efv3ivers/+cod- v ac"=16.35biteaxr,efv3iHID_USAGE">g s_{.st#L19 valueL19 v ac f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_1 f=xrBTN_1 ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_2 f=xrBTN_2 ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_3 f=xrBTN_3 ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_4 f=xrBTN_4 ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_5 f=xrBTN_5 ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_6 f=xrBTN_6 ac

L25 >dr25f=xr. 4*earchny. 424 v 43e=EV_KEY"/ acase 0xff07:_cln> f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_7 f=xrBTN_7 ac

L25 >dr25f=xr. ** Copy"> f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_8 f=xrBTN_8 ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_9 f=xrBTN_9 ac

L25 >dr25f=xr. "/ ac<4op1re46e=EV_KEY"/ acase 0xff0a:_cln> f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_A f=xrBTN_A ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cBTN_B f=xrBTN_B ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cKEY_WLAN f=xrKEY_WLAN ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cKEY_BRIGHTNESSDOWN f=xrKEY_BRIGHTNESSDOWN ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cKEY_BRIGHTNESSUP"> f=xr))e= "/ KEY_BRIGHTNESSUP ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cKEY_DISPLAY_OFF"> f=xr))e= "/ KEY_DISPLAY_OFF ac

L25 >dr25f=xr. f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cKEY_CAMERA f=xrKEY_CAMERA ac

L25 >dr25f=xr. 5*earchny. 524 v 53e=EV_KEY"/ acase 0x00f8:_cln> f=xr(+v3ivers/+code= "/ ac f=xr)5/drefv3ivers/+code=g s_map_usage_cKEY_PROG1 f=xrKEY_PROG1 ac

L25 >dr25f=xr. 5* Copy"> L25 >dr25f=xr. ** Copy"> L25 >dr25f=xr. "/ ac<5op1re56e=EV_KEY"/ a}=ine v"> L25 >dr25f=xr. L25 >dr25f=xr. L25 >dr25f=xr. L26 >dr26f=xr#definex+v3i6 inest>g sucue="=16.35biteaxr,efv3i f=xalueL2_f=e=EV_cln> f=xr(+v3iverseL3 v a f=xr)5/eL3 v ac[] =_{.st#L19 valueL19 v acbiteaxr,efv3iHID_USB_DEVICEcode=g s_map_usage_cUSB_VENDOR_ID_CHICONf"> f=xr))e= "/ USB_VENDOR_ID_CHICONfs/c"> f=xr))e= "/ USB_DEVICE_ID_CHICONf_TACTICAL_PAD">g s_}ene v"> L3 >dre3f=xr>< biteaxr,efv3iHID_USB_DEVICEcode=g s_map_usage_cUSB_VENDOR_ID_CHICONf"> f=xr))e= "/ USB_VENDOR_ID_CHICONfs/c"> f=xrUSB_DEVICE_ID_CHICONf_WIRELESS2">g s_}ene v"> L3 >dre3f=xr>< 6*earchny. 624 v 63e=EV_KEY"/ a{e="=16.35biteaxr,efv3iHID_USB_DEVICEcode=g s_map_usage_cUSB_VENDOR_ID_CHICONf"> f=xr))e= "/ USB_VENDOR_ID_CHICONfs/c"> f=xr))e= "/ USB_DEVICE_ID_CHICONf_AK1D">g s_}ene v"> L3 >dre3f=xr>< 6* Copy"> L25 >dr25f=xr. 6* Copy"> L25 >dr25f=xr. ** Copy">biteaxr,efv3iMODULE_DEVICE_TABLEde=usage"/ acbiteaxr,efv3i f=e=EV> f=xr)5/eL3 v ac/p=ine v"> L25 >dr25f=xr. L26 >dr26f=xr#definex+v3i6 g sucue="=16.35biteaxr,efv3i f=xai6 = "/ USB_VENDOR_ID_CHICONfs/cB_VE#include <6 L25 >dr25f=xr.bitea. */earchnymoding"> ivers/i g s_}7=ine v">7 L26 >dr26f=xr#define7+v3i6703ivers4inclu.=xa L26 ">bitea16.tabl3f=xai6 = "/ U16.tabl3_ID_CHI. acbiteaxr,efv3i f=e=EV> g s_}7.st#L19 7alueL19 v acbitea1ac lue="=16.35palueL25 v ac lue="=16.35g s_}7ne v"> 7 L3 >dre3f=xr>< 6* Copy"> 7 L3 >dre3f=xr>< 7 L3 >dre3f=xr>< g5 v ae=EV- _oparealu f=xa L26 ">biteaxr,paref">g5 v ae=EV- xr,pareABLE"voidNDOR">biteaxr,efv3iHID_UP_MSVENDOR ac<7=ine v">7 L25 >dr25f=xr./7=ine v">7 L25 >dr25f=xr. g sucue="=16.register6/op=inABLE"16.35=xa L26 ">biteaxr,efv3i f=xai6 = "/ USB_VENDOR_ID_rseL3 v a f=xr)5/eL3 v ac/7ine v"> L7 >dre7f=xr>< 7 L26 >dr26f=xr#define7+v3i67 7 L25 >dr25f=xr.g5 v ae=EV- _oexrealu f=xa L26 ">biteaxr,exref">g5 v ae=EV- xr,exreABLE"voidNDOR">biteaxr,efv3iHID_UP_MSVENDOR ac<8=ine v">8 L26 >dr26f=xr#define8+v3i6803ivers3included/hid-/g s.h v a3/8.st#L19 8alueL19 v ac g sucue="=16.unregister6/op=inABLE"16.35=xa L26 ">biteaxr,efv3i f=xai6 = "/ USB_VENDOR_ID_rseL3 v a f=xr)5/eL3 v ac/8ne v"> 8 L3 >dre3f=xr>< 8 L3 >dre3f=xr>< 8 L3 >dre3f=xr>< ** Copy">g5 v ae=EV- 3ivers,pareABLE">biteaxr,efv3iMxr,paref">g5 v ae=EV- xr,pareABLErseL3 v a f=xr)5/eL3 v ac/8=ine v">8 L25 >dr25f=xr. ** Copy">g5 v ae=EV- 3ivers,exreABLE">biteaxr,efv3iMxr,exref">g5 v ae=EV- xr,exreABLErseL3 v a f=xr)5/eL3 v ac/8=ine v">8 L25 >dr25f=xr. ** Copy">"> */earchnymoding"> GPL f=xr)5/eL3 v ac/8ine v"> 8 L7 >dre7f=xr>< . fdivL7 >drefooter"> The original LXRredistrib.LXRr.lxr@las.<.nousag. /ten."> fdivL7 >dresubfooter"> lxr.las.<.no kindly hosted.Redpill Laspro ASusage"provie GNof Lasuxludedultingrchn oper v2 s sermg sr sincerchn5. /ten.">. /body"> /htmldr