X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=protocol%2Fusb_hid%2FREADME;h=0d2efc2aa2d81670deef1a1f0687019a8b931f52;hb=48e6d0848cdeac26ffab101ea2ef48e5ac60acd3;hp=0acf677f8b6d8f1fc5bc9a26098c50e30a99f345;hpb=9382bf2f765cfbb8f7a9a48157391cac2bb71780;p=max%2Ftmk_keyboard.git diff --git a/protocol/usb_hid/README b/protocol/usb_hid/README index 0acf677f..0d2efc2a 100644 --- a/protocol/usb_hid/README +++ b/protocol/usb_hid/README @@ -1,3 +1,8 @@ +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 @@ -7,3 +12,36 @@ 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 ?