localconnectivityservice/generichid/tsrc/GenericHidTest/data/push.hid
changeset 29 3ae5cb0b4c02
equal deleted inserted replaced
20:6e82ae192c3a 29:3ae5cb0b4c02
       
     1 // File: Push1.hid.txt
       
     2 // Push defined with no corresponding Pop
       
     3 
       
     4     0x05, 0x01,              // USAGE_PAGE (Generic Desktop)
       
     5     0x09, 0x06,              // USAGE (Keyboard)
       
     6     0xA1, 0x01,              // COLLECTION (Application)
       
     7     0x85, 0x01,              //   REPORT_ID (1)
       
     8     0x05, 0x08,              //   USAGE_PAGE (LEDs)
       
     9     0x19, 0x01,              //   USAGE_MINIMUM (Num Lock)
       
    10     0x29, 0x03,              //   USAGE_MAXIMUM (Scroll Lock)
       
    11     0x15, 0x00,              //   LOGICAL_MINIMUM (0)
       
    12     0x25, 0x01,              //   LOGICAL_MAXIMUM (1)
       
    13     0x75, 0x01,              //   REPORT_SIZE (1)
       
    14     0x95, 0x03,              //   REPORT_COUNT (3)
       
    15     0x91, 0x02,              //   OUTPUT (Data,Var,Abs)
       
    16     0x09, 0x4B,              //   USAGE (Generic indicator)
       
    17     0x95, 0x01,              //   REPORT_COUNT (1)
       
    18 // Push defined with no corresponding Pop
       
    19     0xa4,                          //     PUSH
       
    20     0x91, 0x02,              //   OUTPUT (Data,Var,Abs)
       
    21     0x95, 0x04,              //   REPORT_COUNT (4)
       
    22     0x91, 0x01,              //   OUTPUT (Cnst,Ary,Abs)
       
    23     0x05, 0x07,              //   USAGE_PAGE (Keyboard)
       
    24     0x19, 0xE0,              //   USAGE_MINIMUM (Keyboard LeftControl)
       
    25     0x29, 0xE7,              //   USAGE_MAXIMUM (Keyboard Right GUI)
       
    26     0x95, 0x08,              //   REPORT_COUNT (8)
       
    27     0x81, 0x02,              //   INPUT (Data,Var,Abs)
       
    28     0x75, 0x08,              //   REPORT_SIZE (8)
       
    29     0x95, 0x01,              //   REPORT_COUNT (1)
       
    30     0x81, 0x01,              //   INPUT (Cnst,Ary,Abs)
       
    31     0x19, 0x00,              //   USAGE_MINIMUM (No event)
       
    32     0x29, 0x91,              //   USAGE_MAXIMUM (Keyboard LANG2)
       
    33     0x26, 0xFF, 0x00,        //   LOGICAL_MAXIMUM (255)
       
    34     0x95, 0x06,              //   REPORT_COUNT (6)
       
    35     0x81, 0x00,              //   INPUT (Data,Ary,Abs)
       
    36     0xC0,                    // END_COLLECTION
       
    37     //...                    //
       
    38     0x05, 0x0C,              // USAGE_PAGE (Consumer Devices)
       
    39     0x09, 0x01,              // USAGE (Consumer Control)
       
    40     0xA1, 0x01,              // COLLECTION (Application)
       
    41     0x85, 0x02,              //   REPORT_ID (2)
       
    42     0x05, 0x0C,              //   USAGE_PAGE (Consumer Devices)
       
    43     0x15, 0x00,              //   LOGICAL_MINIMUM (0)
       
    44     0x25, 0x01,              //   LOGICAL_MAXIMUM (1)
       
    45     0x75, 0x01,              //   REPORT_SIZE (1)
       
    46     0x95, 0x1C,              //   REPORT_COUNT (28)
       
    47     0x09, 0xE2,              //   USAGE (Mute)
       
    48     0x09, 0xB7,              //   USAGE (Stop)
       
    49     0x09, 0xCD,              //   USAGE (Play/pause)
       
    50     0x09, 0xEA,              //   USAGE (Volume Down)
       
    51     0x09, 0xE9,              //   USAGE (Volume Up)
       
    52     0x09, 0xB6,              //   USAGE (Scan Previous Track)
       
    53     0x09, 0xB5,              //   USAGE (Scan Next Track)
       
    54     0x0A, 0x83, 0x01,        //   USAGE (Control config)
       
    55     0x0A, 0x1A, 0x02,        //   USAGE (Undo)
       
    56     0x0A, 0x79, 0x02,        //   USAGE (Redo)
       
    57     0x0A, 0xAB, 0x01,        //   USAGE (Spell check)
       
    58     0x0A, 0x08, 0x02,        //   USAGE (Print)
       
    59     0x0A, 0x02, 0x02,        //   USAGE (Open)
       
    60     0x0A, 0x03, 0x02,        //   USAGE (Close)
       
    61     0x0A, 0x07, 0x02,        //   USAGE (Save)
       
    62     0x0A, 0x01, 0x02,        //   USAGE (New)
       
    63     0x0A, 0x92, 0x01,        //   USAGE (Calculator)
       
    64     0x0A, 0x9C, 0x01,        //   USAGE (Logoff)
       
    65     0x09, 0x95,              //   USAGE (Help)
       
    66     0x0A, 0x23, 0x02,        //   USAGE (Home)
       
    67     0x0A, 0x89, 0x02,        //   USAGE (Reply)
       
    68     0x0A, 0x8B, 0x02,        //   USAGE (Sendto
       
    69     0x0A, 0x8C, 0x02,        //   USAGE (Send)
       
    70     0x0A, 0x8A, 0x01,        //   USAGE (Email
       
    71     0x0A, 0x99, 0x01,        //   USAGE (Chat)
       
    72     0x0A, 0xA7, 0x01,        //   USAGE (Documents)
       
    73     0x0A, 0xB6, 0x01,        //   USAGE (Unknown 0x01b6)
       
    74     0x0A, 0xB7, 0x01,        //   USAGE (Unknown 0x01b7)
       
    75     0x81, 0x02,              //   INPUT (Data,Var,Abs)
       
    76     0x75, 0x01,              //   REPORT_SIZE (1)
       
    77     0x95, 0x04,              //   REPORT_COUNT (4)
       
    78     0x81, 0x01,              //   INPUT (Cnst,Ary,Abs)
       
    79     0x06, 0x00, 0xFF,        //   USAGE_PAGE (Vendor Defined Page 1)
       
    80     0x0A, 0x02, 0xFF,        //   USAGE (Unknown 0xff02)
       
    81     0x26, 0xFF, 0x00,        //   LOGICAL_MAXIMUM (255)
       
    82     0x95, 0x01,              //   REPORT_COUNT (1)
       
    83     0x75, 0x08,              //   REPORT_SIZE (8)
       
    84     0x81, 0x02,              //   INPUT (Data,Var,Abs)
       
    85     0xC0,                    // END_COLLECTION
       
    86     //...                    //
       
    87     0x05, 0x01,              // USAGE_PAGE (Generic Desktop)
       
    88     0x09, 0x80,              // USAGE (System Control)
       
    89     0xA1, 0x01,              // COLLECTION (Application)
       
    90     0x85, 0x03,              //   REPORT_ID (3)
       
    91     0x19, 0x81,              //   USAGE_MINIMUM (System Power Down)
       
    92     0x29, 0x83,              //   USAGE_MAXIMUM (System Wake Up)
       
    93     0x25, 0x01,              //   LOGICAL_MAXIMUM (1)
       
    94     0x95, 0x03,              //   REPORT_COUNT (3)
       
    95     0x75, 0x01,              //   REPORT_SIZE (1)
       
    96     0x81, 0x02,              //   INPUT (Data,Var,Abs)
       
    97     0x95, 0x05,              //   REPORT_COUNT (5)
       
    98     0x81, 0x01,              //   INPUT (Cnst,Ary,Abs)
       
    99     0xC0,                    // END_COLLECTION
       
   100     //...                    //
       
   101     0x05, 0x0C,              // USAGE_PAGE (Consumer Devices)
       
   102     0x09, 0x01,              // USAGE (Consumer Control)
       
   103     0xA1, 0x01,              // COLLECTION (Application)
       
   104     0x85, 0x04,              //   REPORT_ID (4)
       
   105     0x05, 0x01,              //   USAGE_PAGE (Generic Desktop)
       
   106     0x09, 0x06,              //   USAGE (Keyboard)
       
   107     0xA1, 0x02,              //   COLLECTION (Logical)
       
   108     0x06, 0x00, 0xFF,        //     USAGE_PAGE (Vendor Defined Page 1)
       
   109     0x15, 0x00,              //     LOGICAL_MINIMUM (0)
       
   110     0x25, 0x03,              //     LOGICAL_MAXIMUM (3)
       
   111     0x95, 0x01,              //     REPORT_COUNT (1)
       
   112     0x75, 0x02,              //     REPORT_SIZE (2)
       
   113     0x0A, 0x01, 0xFE,        //     USAGE (Unknown 1)
       
   114     0x81, 0x02,              //     INPUT (Data,Var,Abs)
       
   115     0x75, 0x06,              //     REPORT_SIZE (6)
       
   116     0x81, 0x01,              //     INPUT (Cnst,Ary,Abs)
       
   117     0xC0,                    //   END_COLLECTION
       
   118     0xC0,                    // END_COLLECTION
       
   119     //...                    //
       
   120     0x05, 0x0C,              // USAGE_PAGE (Consumer Devices)
       
   121     0x09, 0x01,              // USAGE (Consumer Control)
       
   122     0xA1, 0x01,              // COLLECTION (Application)
       
   123     0x85, 0x05,              //   REPORT_ID (5)
       
   124     0x05, 0x01,              //   USAGE_PAGE (Generic Desktop)
       
   125     0x09, 0x06,              //   USAGE (Keyboard)
       
   126     0xA1, 0x02,              //   COLLECTION (Logical)
       
   127     0x06, 0x00, 0xFF,        //     USAGE_PAGE (Vendor Defined Page 1)
       
   128     0x25, 0x01,              //     LOGICAL_MAXIMUM (1)
       
   129     0x75, 0x01,              //     REPORT_SIZE (1)
       
   130     0x95, 0x02,              //     REPORT_COUNT (2)
       
   131     0x0A, 0x03, 0xFE,        //     USAGE (Unknown 0xfe03)
       
   132     0x0A, 0x04, 0xFE,        //     USAGE (Unknown 0xfe04)
       
   133     0x81, 0x02,              //     INPUT (Data,Var,Abs)
       
   134     0x95, 0x06,              //     REPORT_COUNT (6)
       
   135     0x81, 0x01,              //     INPUT (Cnst,Ary,Abs)
       
   136     0xC0,                    //   END_COLLECTION
       
   137     0xC0,                    // END_COLLECTION
       
   138     //...                    //
       
   139     0x05, 0x0C,              // USAGE_PAGE (Consumer Devices)
       
   140     0x09, 0x01,              // USAGE (Consumer Control)
       
   141     0xA1, 0x01,              // COLLECTION (Application)
       
   142     0x85, 0xFF,              //   REPORT_ID (255)
       
   143     0x05, 0x06,              //   USAGE_PAGE (Generic Device Controls)
       
   144     0x95, 0x01,              //   REPORT_COUNT (1)
       
   145     0x75, 0x02,              //   REPORT_SIZE (2)
       
   146     0x19, 0x24,              //   USAGE_MINIMUM (Unknown 0x24)
       
   147     0x29, 0x26,              //   USAGE_MAXIMUM (Unknown 0x26)
       
   148     0x81, 0x02,              //   INPUT (Data,Var,Abs)
       
   149     0x75, 0x06,              //   REPORT_SIZE (6)
       
   150     0x81, 0x01,              //   INPUT (Cnst,Ary,Abs)
       
   151     0xC0                     // END_COLLECTION
       
   152 //    };