打印
[AVR单片机]

HIDKeys - An Example USB HID

[复制链接]
2876|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
宇宙飞船|  楼主 | 2010-9-4 23:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
HIDKeys - An Example USB HIDHIDKeys demonstrates how AVR-USB can be used to implement the USB Human Interface Device (HID) class specification. It's a simple USB keyboard with up to 17 keys.
file:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/hidkeys.gif

Why a HID?Implementing a USB device which conforms to the HID specification is particularly useful if you develop for Windows: Every vendor class device requires a kernel driver, but HID class devices do not. This means that you don't need an installer, the application can simply be copied to the disk or even be started from a CD.
This example demonstrates the device part of HID only. Since it implements a keyboard, no special software is needed on the host computer. In practice, you usually need a specialized software which controls the device. There are many examples available which show how to communicate between the host software and a HID on Windows, e.g. on Jan Alexon's web page. Our Automator project is one of them.
If you are new to USB and don't want to dig into the details of creating report descriptors, look at our PowerSwitch example first. It is the most basic and straight-forward way of USB communication.
Download
Download HIDKeys
HIDKeys.2007-03-29.tar.gzfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download135 kB
HIDKeys.2007-03-29.zipfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download144 kB
HIDKeys.2006-03-14.tar.gzfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download121 kB
HIDKeys.2006-03-14.zipfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download128 kB
HIDKeys.2006-02-07.tar.gzfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download118 kB
HIDKeys.2006-02-07.zipfile:///D:/usb/avr-usb/HidKeys_tar_gz/AVR%20USB%20-%20A%20Firmware-Only%20USB%20Driver%20for%20Atmel%20AVR%20Microcontrollers.files/download-arrow.gif Download123 kB

相关帖子

沙发
dreampet| | 2010-9-6 10:02 | 只看该作者
转帖请转完整并注明原文出处:
www.obdev.at/products/vusb/hidkeys.html

使用特权

评论回复
板凳
粉丝| | 2010-9-16 14:42 | 只看该作者
那些英文不好的就惨了!呵呵。

使用特权

评论回复
地板
粉丝| | 2010-9-25 13:27 | 只看该作者
顶顶更健康。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:技术是玩出来的!

75

主题

1664

帖子

4

粉丝