00001 // C:\Documents and Settings\23006418\Desktop\dt2_4\MSDEV\Projects\test\ir_keyboard_2.hid.h 00002 00003 00004 char ReportDescriptor[106] = { 00005 0x05, 0x0c, // USAGE_PAGE (Consumer Devices) 00006 0x09, 0x01, // USAGE (Consumer Control) 00007 0xa1, 0x01, // COLLECTION (Application) 00008 0x85, 0x01, // REPORT_ID (1) 00009 0x05, 0x0c, // USAGE_PAGE (Consumer Devices) 00010 0x09, 0xb5, // USAGE (Scan Next Track) 00011 0x09, 0xb6, // USAGE (Scan Previous Track) 00012 0x09, 0xb4, // USAGE (Rewind) 00013 0x09, 0xb0, // USAGE (Play) 00014 0x09, 0xb3, // USAGE (Fast Forward) 00015 0x09, 0xb1, // USAGE (Pause) 00016 0x09, 0xb2, // USAGE (Record) 00017 0x09, 0xb7, // USAGE (Stop) 00018 0x09, 0x40, // USAGE (Menu) 00019 0x09, 0x46, // USAGE (Menu Escape) 00020 0x09, 0x42, // USAGE (Menu Up) 00021 0x09, 0x43, // USAGE (Menu Down) 00022 0x09, 0x44, // USAGE (Menu Left) 00023 0x09, 0x45, // USAGE (Menu Right) 00024 0x09, 0x41, // USAGE (Menu Pick) 00025 0x09, 0x48, // USAGE (Menu Value Decrease) 00026 0x09, 0x47, // USAGE (Menu Value Increase) 00027 0x09, 0xea, // USAGE (Volume Down) 00028 0x09, 0xe9, // USAGE (Volume Up) 00029 0x09, 0xe2, // USAGE (Mute) 00030 0x09, 0x9d, // USAGE (Channel Decrement) 00031 0x09, 0x9c, // USAGE (Channel Increment) 00032 0x09, 0x62, // USAGE (Closed Caption Select) 00033 0x09, 0x61, // USAGE (Closed Caption) 00034 0x15, 0x01, // LOGICAL_MINIMUM (1) 00035 0x25, 0x18, // LOGICAL_MAXIMUM (24) 00036 0x75, 0x08, // REPORT_SIZE (8) 00037 0x95, 0x01, // REPORT_COUNT (1) 00038 0x81, 0x40, // INPUT (Data,Ary,Abs,NULL) 00039 0xc0, // END_COLLECTION 00040 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 00041 0x09, 0x06, // USAGE (Keyboard) 00042 0xa1, 0x01, // COLLECTION (Application) 00043 0x85, 0x02, // REPORT_ID (2) 00044 0x05, 0x07, // USAGE_PAGE (Keyboard) 00045 0x19, 0x00, // USAGE_MINIMUM (Reserved (no event indicated)) 00046 0x29, 0x65, // USAGE_MAXIMUM (Keyboard Application) 00047 0x15, 0x00, // LOGICAL_MINIMUM (0) 00048 0x25, 0x65, // LOGICAL_MAXIMUM (101) 00049 0x95, 0x01, // REPORT_COUNT (1) 00050 0x75, 0x07, // REPORT_SIZE (7) 00051 0x81, 0x00, // INPUT (Data,Ary,Abs) 00052 0x09, 0xe1, // USAGE (Keyboard LeftShift) 00053 0x15, 0x00, // LOGICAL_MINIMUM (0) 00054 0x25, 0x01, // LOGICAL_MAXIMUM (1) 00055 0x95, 0x01, // REPORT_COUNT (1) 00056 0x75, 0x01, // REPORT_SIZE (1) 00057 0x81, 0x02, // INPUT (Data,Var,Abs) 00058 0xc0 // END_COLLECTION 00059 }; 00060