用PDIUSBD12做HID键盘,如何实现一键上网功能,在microsoft的官方网站上有说明,如下:http://www.microsoft.com/taiwan/whdc/device/input/w2kbd.mspx#E6 microsoft的报告描述符是这样写的(下面的AC Home) Usage Page (Consumer) Usage (Consumer Control) Collection (Application) Report ID (1) Usage (Volume Increment) Usage (Volume Decrement) Logical Minimum (0) Logical Maximum (1) Report Size (1) Report Count (2) Input (Data, Variable, Absolute, Preferred) Usage (Mute) Logical Minimum (0) Logical Maximum (1) Report Size (1) Report Count (1) Input (Data, Variable, Relative, Preferred) Usage (AC Home) Input (Data, Variable, Relative, Preferred) Report Count (4) Input (Constant) End Collection 但是,使用usb.org提供的HID描述符生成工具无法找到AC Home(AC Home的usage ID是0x0223)
|