概述:
主项目
|
全域项目
|
区域项目
|
|||
标签
|
代码
|
标签
|
代码
|
标签
|
代码
|
Input
|
X08?
|
Usage Page
|
0x0?
|
Usage
|
0x0?
|
Output
|
0x9?
|
Logical Minimum
|
0x1?
|
Usage Minimum
|
0x1?
|
Feature
|
0x0b?
|
Logical Maximum
|
0x2?
|
Usage Maximum
|
0x2?
|
|
Physical Minimum
|
0x3?
|
Designator Minimum
|
0x3?
|
|
Collection
|
0xa1
|
Physical Maximum
|
0x4?
|
Designator Minimum
|
0x4?
|
End Collection
|
0xc0
|
Unit Exponent
|
0x5?
|
Designator Maximum
|
0x5?
|
|
|
Unit
|
0x6?
|
String
|
0x7?
|
|
|
Report Size
|
0x7?
|
Sreing Minimum
|
0x8?
|
|
|
Report ID
|
0x8?
|
String Maximum
|
0x9?
|
|
|
Report Coumt
|
0x9?
|
Delimiter
|
0xa?
|
|
|
Push
|
0xA?
|
|
|
|
|
Pop
|
0xb?
|
|
|
音量减键
|
音量旋钮
|
Usage Page(consumer)
|
Usage Page(Consumer)
|
Usage(Volume)
|
Usage(Volume)
|
Logical Minimum(-1)
|
Logical Minimum(0)
|
Logical Maximum(-1)
|
Logical Maximum(100)
|
Report Size(2)
|
Report Size(7)
|
Report Count(1)
|
Report Count(1)
|
Input(Data,Variable,Relative)
|
Input(Data,Variable,Absolute,No Wrap,Linear,No Relative)
|
Logical Minimum(-127)
|
R = ((127-(-127))/(3175-(-3175))X10-4
= 400counts per inch
|
Logical Minimum(127)
|
|
Physical Minimum(-3175)
|
|
Physical Minimum(3175)
|
给定Logical值,计算出physical值:
((PM-Pm)/2)/10i=((127-(-127))/400)/2=0.3173
à|PM|=|Pm|=3175,i=4
|
Unit Exponent(-4)
|
|
Unit(inch)
|
Nibbe
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
|
0
|
Luminous Intensity
|
Current
|
Temperature
|
Time
|
Mass
|
Length
|
System
|
|
None
|
SI Linear
|
SI Rotation
|
English Linear
|
English Rotation
|
System
|
0x0
|
0x1
|
0x2
|
0x3
|
0x4
|
Length
|
None
|
公分
|
径度
|
英寸
|
角度
|
Mass
|
None
|
公克
|
公克
|
Slug
|
Slug
|
Time
|
None
|
秒
|
秒
|
秒
|
秒
|
Temperature
|
None
|
凯氏(绝对温度)
|
凯氏(绝对温度)
|
华氏
|
华氏
|
Current
|
None
|
安培
|
安培
|
安培
|
安培
|
Luminous intensity
|
None
|
Candela
|
Candela
|
Candela
|
Candela
|
-8
|
-7
|
-6
|
-5
|
-4
|
-3
|
-2
|
-1
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
08h
|
09h
|
0ah
|
0bh
|
0ch
|
0dh
|
0eh
|
0fh
|
00h
|
01h
|
02h
|
03h
|
04h
|
05h
|
06h
|
07h
|
Bit
|
8
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
0
|
Bit Field
|
Non Volatile
|
No Null Position
|
Preferred State
|
Linear
|
No Wrap
|
Absolute
|
Array
|
Data
|
1
|
Buffered Bytes
|
Volatile
|
Null State
|
No Preferred
|
Non Linear
|
Wrap
|
Relative
|
Variable
|
Constant
|
|
Physical
|
Application
|
Logical
|
Report
|
Named Arrary
|
Usage Modifier
|
Usage Switch
|
Reserved
|
Vendor-defined
|
代码
|
0x00
|
0x01
|
0x02
|
0x03
|
0x04
|
0x05
|
0x06
|
0x07-0x7f
|
0x80-0xff
|
用途
|
CP
|
CA
|
CL
|
|
Nary
|
US
|
UM
|
|
|
[data]
|
[data]
|
bTag
|
bType
|
bSize
|
键盘(输入报告)
|
鼠标(输入报告)
|
||||||||||||||||
Byte
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
Byte
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
0
|
Modifier keys
|
0
|
Pad
|
Buttons
|
|||||||||||||
1
|
Reserved
|
1
|
X displacement
|
||||||||||||||
2
|
Keycode 1
|
2
|
Y displacement
|
||||||||||||||
3
|
Keycode 2
|
|
|
||||||||||||||
4
|
Keycode 3
|
|
|
||||||||||||||
5
|
Keycode 4
|
|
|
||||||||||||||
6
|
Keycode 5
|
|
|
||||||||||||||
7
|
Keycode 6
|
|
|
键盘输出报告
|
||||||||
Byte
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
0
|
Pad
|
LED’s
|
键 盘
|
鼠 标
|
||
项 目
|
编 码
|
项 目
|
编 码
|
Usage Page (Generic Desktop),
|
0x0105
|
Usage Page (Generic Desktop),
|
0x0105
|
Usage (Keyboard),
|
0x0609
|
Usage (Mouse),
|
0x0209
|
Collection (Application),
|
0x01A1
|
Collection (Application),
|
0x01A1
|
Usage Page (Keyboard),
|
0x0705
|
Usage (Pointer),
|
0x0109
|
Usage Minimum (224),
|
0xE019
|
Collection (Physical),
|
0x00A1
|
Usage Maximum (231),
|
0xE729
|
Usage Page (Buttons),
|
0x0905
|
Logical Minimum (0),
|
0x0015
|
Usage Minimum (1),
|
0x0119
|
Logical Maximum (1),
|
0x0125
|
Usage Maximum (3),
|
0x0329
|
Report Size (1),
|
0x0175
|
Logical Minimum (0),
|
0x0015
|
Report Count (8),
|
0x0895
|
Logical Maximum (1),
|
0x0125
|
Input (Data, Variable, Absolute),
|
0x0281
|
Report Size (1),
|
0x0175
|
Report Size (8),
|
0x0875
|
Report Count (3),
|
0x0395
|
Report Count (1),
|
0x0195
|
Input (Data, Variable, bsolute),
|
0x0281
|
Input (Constant),
|
0x0181
|
Report Size (5),
|
0x0575
|
Usage Minimum (0),
|
0x0019
|
Report Count (1),
|
0x0195
|
Usage Maximum (101),
|
0x6529
|
Input (Constant),
|
0x0181
|
Logical Minimum (0),
|
0x0015
|
Usage Page (Generic Desktop),
|
0x0105
|
Logical Maximum (101),
|
0x6525
|
Usage (X),
|
0x3009
|
Report Size (8),
|
0x0875
|
Usage (Y),
|
0x3109
|
Report Count (6),
|
0x0695
|
Logical Minimum (-127),
|
0x8115
|
Input (Data, Array),
|
0x0081
|
Logical Maximum (127),
|
0x7F25
|
Usage Page (LEDs),
|
0x0805
|
Report Size (8),
|
0x0875
|
Usage Minimum (1),
|
0x0119
|
Report Count (2),
|
0x0295
|
Usage Maximum (5),
|
0x0529
|
Input (Data, Variable, Relative),
|
0x0681
|
Logical Minimum (0),
|
0x0015
|
End Collection,
|
0xC0
|
Logical Maximum (1),
|
0x0125
|
End Collection
|
0xC0
|
Report Size (1),
|
0x0175
|
|
|
Report Count (5),
|
0x0595
|
|
|
Ou
|
本文引用通告地址:http://clarke.spaces.eepw.com.cn/articles/trackback/item/66841