2012-08-25 08:49:08 +02:00
|
|
|
USB HID protocol
|
|
|
|
================
|
|
|
|
Host side of USB HID keyboard protocol implementation.
|
|
|
|
Only standard HID Boot mode is supported at this time. This means most of normal keyboards are supported while proprietary >6KRO and NKRO is not.
|
|
|
|
|
2012-08-13 17:46:03 +02:00
|
|
|
Third party Libraries
|
|
|
|
---------------------
|
|
|
|
USB_Host_Shield_2.0
|
|
|
|
Circuits@Home repository is git-submoduled. Do git submodule init & update to get the content.
|
|
|
|
https://github.com/felis/USB_Host_Shield_2.0
|
|
|
|
|
|
|
|
arduino-1.0.1
|
|
|
|
Arduino files copied from:
|
|
|
|
https://github.com/arduino/Arduino/hardware/arduino/{cores,variants}
|
2012-08-25 08:49:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
Test build
|
|
|
|
----------
|
|
|
|
In test directory;
|
|
|
|
$ make
|
|
|
|
$ DEV=/dev/ttyACM0 make program
|
|
|
|
|
|
|
|
You can see HID keyboard reports on debug output.
|
|
|
|
|
|
|
|
|
|
|
|
Restriction and Bug
|
|
|
|
-------------------
|
|
|
|
Not statble yet.
|
2012-09-02 16:47:18 +02:00
|
|
|
|
|
|
|
Can't bus-reset a keyboard which already attached on bus properly.
|
|
|
|
Slow start up of Leonardo's bootloader causes this?
|
|
|
|
Need to unplug/plug a keyboard after firmware starts up.
|
|
|
|
MAX3421E doesn't work SAMPLEBUS well to know whether device connected or not.
|
|
|
|
|
|
|
|
Keyboard with other endpoints than boot keyboard may go wrong.
|
|
|
|
On my keyboard with mouse key the converter locks up when using mouse key function.
|