Go to the documentation of this file. 3 #define D_MULTIBYTE(n) (n + 0x01) 5 #define D_USAGE_PAGE 0x05 9 #define D_REPORT_ID 0x85 11 #define D_USAGE_MINIMUM 0x19 12 #define D_USAGE_MAXIMUM 0x29 14 #define D_LOGICAL_MINIMUM 0x15 15 #define D_LOGICAL_MAXIMUM 0x25 17 #define D_REPORT_SIZE 0x75 18 #define D_REPORT_COUNT 0x95 26 #define D_FEATURE 0xb1 27 #define D_COLLECTION 0xa1 28 #define D_END_COLLECTION 0xc0 33 #define D_DATA 0b00000000 34 #define D_CONSTANT 0b00000001 36 #define D_ARRAY 0b00000000 37 #define D_VARIABLE 0b00000010 39 #define D_ABSOLUTE 0b00000000 40 #define D_RELATIVE 0b00000100 42 #define D_NO_WRAP 0b00000000 43 #define D_WRAP 0b00001000 45 #define D_LINEAR 0b00000000 46 #define D_NON_LINEAR 0b00010000 48 #define D_PREFERRED_STATE 0b00000000 49 #define D_NO_PREFERRED 0b00100000 51 #define D_NO_NULL_POSITION 0b00000000 52 #define D_NULL_STATE 0b01000000 54 #define D_NON_VOLATILE 0b00000000 55 #define D_VOLATILE 0b01000000 58 #define D_BIT_FIELD 0b00000000 59 #define D_BUFFERED_BYTES 0b10000000 66 #define D_PHYSICAL 0x00 // (group of axes) 67 #define D_APPLICATION 0x01 // (mouse, keyboard) 68 #define D_LOGICAL 0x02// (interrelated data) 70 #define D_NAMED_ARRAY 0x04 71 #define D_USAGE_SWITCH 0x05 72 #define D_USAGE_MODIFIER 0x06 77 #define D_PAGE_GENERIC_DESKTOP 0x01 78 #define D_PAGE_SIMULATION 0x02 79 #define D_PAGE_VR 0x03 80 #define D_PAGE_SPORT 0x04 81 #define D_PAGE_GAME 0x05 82 #define D_PAGE_GENERIC_DEVICE 0x06 83 #define D_PAGE_KEYBOARD 0x07 84 #define D_PAGE_LEDS 0x08 85 #define D_PAGE_BUTTON 0x09 86 #define D_PAGE_ORDINAL 0x0A 87 #define D_PAGE_TELEPHONY 0x0B 88 #define D_PAGE_CONSUMER 0x0C 89 #define D_PAGE_DIGITIZER 0x0D 90 #define D_PAGE_RESERVED 0x0E 91 #define D_PAGE_PID 0x0F 92 #define D_PAGE_UNICODE 0x10 94 #define D_PAGE_ALPHANUMERIC_DISPLAY 0x14 95 #define D_PAGE_MEDICAL_INSTRUMENTS 0x40 98 #define D_PAGE_BAR_CODE_SCANNER 0x8C 99 #define D_PAGE_SCALE 0x8D 100 #define D_PAGE_MSR 0x8E 102 #define D_PAGE_CAMERA_CONTROL 0x90 103 #define D_PAGE_ARCADE 0x91 109 #define D_USAGE_POINTER 0x01 110 #define D_USAGE_MOUSE 0x02 112 #define D_USAGE_JOYSTICK 0x04 113 #define D_USAGE_GAMEPAD 0x05 114 #define D_USAGE_KEYBOARD 0x06 115 #define D_USAGE_KEYPAD 0x07 116 #define D_USAGE_MULITAXIS 0x08