Home | History | Annotate | Line # | Download | only in usb
ugraphire_rdesc.h revision 1.1.2.2
      1  1.1.2.2  bouyer /*	$NetBSD: ugraphire_rdesc.h,v 1.1.2.2 2001/01/05 17:36:31 bouyer Exp $	*/
      2  1.1.2.2  bouyer /*
      3  1.1.2.2  bouyer  * Copyright (c) 2000 Nick Hibma <n_hibma (at) freebsd.org>
      4  1.1.2.2  bouyer  * All rights reserved.
      5  1.1.2.2  bouyer  *
      6  1.1.2.2  bouyer  * Redistribution and use in source and binary forms, with or without
      7  1.1.2.2  bouyer  * modification, are permitted provided that the following conditions
      8  1.1.2.2  bouyer  * are met:
      9  1.1.2.2  bouyer  * 1. Redistributions of source code must retain the above copyright
     10  1.1.2.2  bouyer  *    notice, this list of conditions and the following disclaimer.
     11  1.1.2.2  bouyer  * 2. Redistributions in binary form must reproduce the above copyright
     12  1.1.2.2  bouyer  *    notice, this list of conditions and the following disclaimer in the
     13  1.1.2.2  bouyer  *    documentation and/or other materials provided with the distribution.
     14  1.1.2.2  bouyer  *
     15  1.1.2.2  bouyer  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
     16  1.1.2.2  bouyer  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     17  1.1.2.2  bouyer  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     18  1.1.2.2  bouyer  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
     19  1.1.2.2  bouyer  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     20  1.1.2.2  bouyer  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     21  1.1.2.2  bouyer  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     22  1.1.2.2  bouyer  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     23  1.1.2.2  bouyer  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
     24  1.1.2.2  bouyer  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
     25  1.1.2.2  bouyer  * SUCH DAMAGE.
     26  1.1.2.2  bouyer  */
     27  1.1.2.2  bouyer 
     28  1.1.2.2  bouyer static uByte uhid_graphire_report_descr[] = {
     29  1.1.2.2  bouyer     0x05, 0x0d,                    /*  USAGE_PAGE (Digitizers)		*/
     30  1.1.2.2  bouyer     0x09, 0x01,                    /*  USAGE (Digitizer)		*/
     31  1.1.2.2  bouyer     0xa1, 0x01,                    /*  COLLECTION (Application)		*/
     32  1.1.2.2  bouyer     0x85, 0x02,                    /*    REPORT_ID (2)			*/
     33  1.1.2.2  bouyer     0x05, 0x0d,                    /*    USAGE_PAGE (Digitizers)	*/
     34  1.1.2.2  bouyer     0x09, 0x01,                    /*    USAGE (Digitizer)		*/
     35  1.1.2.2  bouyer     0xa1, 0x00,                    /*    COLLECTION (Physical)		*/
     36  1.1.2.2  bouyer     0x15, 0x00,                    /*      LOGICAL_MINIMUM (0)		*/
     37  1.1.2.2  bouyer     0x25, 0x01,                    /*      LOGICAL_MAXIMUM (1)		*/
     38  1.1.2.2  bouyer     0x09, 0x33,                    /*      USAGE (Touch)		*/
     39  1.1.2.2  bouyer     0x95, 0x01,                    /*      REPORT_COUNT (1)		*/
     40  1.1.2.2  bouyer     0x75, 0x01,                    /*      REPORT_SIZE (1)		*/
     41  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     42  1.1.2.2  bouyer     0x09, 0x44,                    /*      USAGE (Barrel Switch)	*/
     43  1.1.2.2  bouyer     0x95, 0x02,                    /*      REPORT_COUNT (2)		*/
     44  1.1.2.2  bouyer     0x75, 0x01,                    /*      REPORT_SIZE (1)		*/
     45  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     46  1.1.2.2  bouyer     0x09, 0x00,                    /*      USAGE (Undefined)		*/
     47  1.1.2.2  bouyer     0x95, 0x02,                    /*      REPORT_COUNT (2)		*/
     48  1.1.2.2  bouyer     0x75, 0x01,                    /*      REPORT_SIZE (1)		*/
     49  1.1.2.2  bouyer     0x81, 0x03,                    /*      INPUT (Cnst,Var,Abs)		*/
     50  1.1.2.2  bouyer     0x09, 0x3c,                    /*      USAGE (Invert)		*/
     51  1.1.2.2  bouyer     0x95, 0x01,                    /*      REPORT_COUNT (1)		*/
     52  1.1.2.2  bouyer     0x75, 0x01,                    /*      REPORT_SIZE (1)		*/
     53  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     54  1.1.2.2  bouyer     0x09, 0x38,                    /*      USAGE (Transducer Index)	*/
     55  1.1.2.2  bouyer     0x95, 0x01,                    /*      REPORT_COUNT (1)		*/
     56  1.1.2.2  bouyer     0x75, 0x01,                    /*      REPORT_SIZE (1)		*/
     57  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     58  1.1.2.2  bouyer     0x09, 0x32,                    /*      USAGE (In Range)		*/
     59  1.1.2.2  bouyer     0x95, 0x01,                    /*      REPORT_COUNT (1)		*/
     60  1.1.2.2  bouyer     0x75, 0x01,                    /*      REPORT_SIZE (1)		*/
     61  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     62  1.1.2.2  bouyer     0x05, 0x01,                    /*      USAGE_PAGE (Generic Desktop)	*/
     63  1.1.2.2  bouyer     0x09, 0x30,                    /*      USAGE (X)			*/
     64  1.1.2.2  bouyer     0x15, 0x00,                    /*      LOGICAL_MINIMUM (0)		*/
     65  1.1.2.2  bouyer     0x26, 0xde, 0x27,              /*      LOGICAL_MAXIMUM (10206)	*/
     66  1.1.2.2  bouyer     0x95, 0x01,                    /*      REPORT_COUNT (1)		*/
     67  1.1.2.2  bouyer     0x75, 0x10,                    /*      REPORT_SIZE (16)		*/
     68  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     69  1.1.2.2  bouyer     0x09, 0x31,                    /*      USAGE (Y)			*/
     70  1.1.2.2  bouyer     0x26, 0xfe, 0x1c,              /*      LOGICAL_MAXIMUM (7422)	*/
     71  1.1.2.2  bouyer     0x95, 0x01,                    /*      REPORT_COUNT (1)		*/
     72  1.1.2.2  bouyer     0x75, 0x10,                    /*      REPORT_SIZE (16)		*/
     73  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     74  1.1.2.2  bouyer     0x05, 0x0d,                    /*      USAGE_PAGE (Digitizers)	*/
     75  1.1.2.2  bouyer     0x09, 0x30,                    /*      USAGE (Tip Pressure)		*/
     76  1.1.2.2  bouyer     0x26, 0xff, 0x01,              /*      LOGICAL_MAXIMUM (511)	*/
     77  1.1.2.2  bouyer     0x95, 0x01,                    /*      REPORT_COUNT (1)		*/
     78  1.1.2.2  bouyer     0x75, 0x10,                    /*      REPORT_SIZE (16)		*/
     79  1.1.2.2  bouyer     0x81, 0x02,                    /*      INPUT (Data,Var,Abs)		*/
     80  1.1.2.2  bouyer     0xc0,                          /*    END_COLLECTION			*/
     81  1.1.2.2  bouyer     0x05, 0x0d,                    /*    USAGE_PAGE (Digitizers)	*/
     82  1.1.2.2  bouyer     0x09, 0x00,                    /*    USAGE (Undefined)		*/
     83  1.1.2.2  bouyer     0x85, 0x02,                    /*    REPORT_ID (2)			*/
     84  1.1.2.2  bouyer     0x95, 0x01,                    /*    REPORT_COUNT (1)		*/
     85  1.1.2.2  bouyer     0xb1, 0x02,                    /*    FEATURE (Data,Var,Abs)		*/
     86  1.1.2.2  bouyer     0x09, 0x00,                    /*    USAGE (Undefined)		*/
     87  1.1.2.2  bouyer     0x85, 0x03,                    /*    REPORT_ID (3)			*/
     88  1.1.2.2  bouyer     0x95, 0x01,                    /*    REPORT_COUNT (1)		*/
     89  1.1.2.2  bouyer     0xb1, 0x02,                    /*    FEATURE (Data,Var,Abs)		*/
     90  1.1.2.2  bouyer     0xc0,                          /*  END_COLLECTION			*/
     91  1.1.2.2  bouyer };
     92