Keyboard firmwares for Atmel AVR and Cortex-M
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Jun Wako 08ec8bbe5d usb_hid: Update USB_Host_Shield_2.0 9 anos atrás
..
USB_Host_Shield_2.0 @ 7c2e6c1bcd usb_hid: Update USB_Host_Shield_2.0 9 anos atrás
arduino-1.0.1 Adhoc fix compile error of usb_usb 9 anos atrás
test test build of 'Host shield' in minimal env. 11 anos atrás
README Add converter/usb_usb/README 11 anos atrás
leonardo_led.h test build of 'Host shield' in minimal env. 11 anos atrás
override_Serial.cpp test build of 'Host shield' in minimal env. 11 anos atrás
override_wiring.c Adhoc fix compile error of usb_usb 9 anos atrás
parser.cpp Adhoc fix compile error of usb_usb 9 anos atrás
parser.h test build of 'Host shield' in minimal env. 11 anos atrás
usb_hid.h usb_hid: Fix timer size uint16_t to uint32_t; 11 anos atrás

README

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.

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}


Test build
----------
In test directory;
$ make
$ DEV=/dev/ttyACM0 make program

You can see HID keyboard reports on debug output.


Restriction and Bug
-------------------
Not supported/confirmed yet.
Hub, suspend, keyboard LED

Switching power on VBUS:
To power reset device.
http://www.circuitsathome.com/camera-control/simulating-cable-disconnect-on-usb-host-shield-2-0
This is needed for a device which are not initilized with 'USB Bus Reset'(long SE0)

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.

Can't compile on Windows filesystem.
On Linux no problem.
Windows doesn't know difference between common/print.h and arduino/Print.h.
Change file name common/print.h to console.h ?