用STM32做键盘,鼠标,触摸屏,功能均实现,但当按住键盘的CTRL,SHIFT键时,用BUS HOUND监测到USB在一直发这些键值到PC,且有按住CTRL,SHIFT的功能。。
Bus Hound 6.01 capture on Windows Vista (x86). Complements of www.perisoft.net
Device - Device ID (followed by the endpoint for USB devices)
(23) USB Composite Device
(24) USB Input Device
(25) USB Input Device
(26) USB Input Device
(27) HID-compliant mouse
(28) HID Keyboard Device
(29) HID-compliant mouse
Phase - Phase Type
IN Data in transfer
Data - Hex dump of the data transferred
Descr - Description of the phase
Cmd... - Position in the captured data
Device Phase Data Description Cmd.Phase.Ofs(rep)
------ ----- ------------------------ ---------------- ------------------
25.2 IN 01 01 00 00 00 00 00 00 ........ 1.1.0
28 IN 10 00 1d 00 00 00 00 00 ........ 2.1.0
25.2 IN 00 00 00 00 00 00 00 00 ........ 3.1.0
25.2 IN 01 01 00 00 00 00 00 00 ........ 4.1.0
25.2 IN 00 00 00 00 00 00 00 00 ........ 5.1.0
28 IN 10 00 1d 00 00 00 00 00 ........ 6.1.0(6982) //发送次数。
如果我有在回调函数里面发送一包0,那么就不能连续按按键(比如按住backspace,一直退格),
求指教,谢谢。。 |