X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=converter%2Fadb_usb%2FREADME.md;h=aa06c8db8744e5dbbce5b45aec546aa15e32c57f;hb=3730666b9788ce93a93185ef8ca76a5f5b770abd;hp=46082ff67f971eb3966a297d2c4636e9c0d77ed9;hpb=1ed54a5dc9bf03a6daa9c1809701b277e3194970;p=max%2Ftmk_keyboard.git diff --git a/converter/adb_usb/README.md b/converter/adb_usb/README.md index 46082ff6..aa06c8db 100644 --- a/converter/adb_usb/README.md +++ b/converter/adb_usb/README.md @@ -1,8 +1,7 @@ ADB to USB keyboard converter ============================= This firmware converts ADB keyboard protocol to USB. -You can use PJRC Teensy for this converter, though, other USB AVR(ATMega32U4, AT90USB64/128 or etc) should work. -But binary size is about 10KB or more it doesn't fit into 8K flash like ATMega8U2. +You can use TMK Converter, PJRC Teensy2.0 and other USB AVR MCU(ATMega32U4, AT90USB64/128 or etc) for this. But binary size is probably more than 10KB and it won't fit into 8K flash. Discuss: http://geekhack.org/showwiki.php?title=Island:14290 @@ -54,22 +53,34 @@ Define following macros for ADB connection in config.h if you use other than por ADB_PORT, ADB_PIN, ADB_DDR, ADB_DATA_BIT -Build ------ -See doc/build.md. In short, +Build firmware and Program microcontroller +------------------------------------------ +See [doc/build.md](../../tmk_core/doc/build.md). + +To build firmware: - $ make clean - $ make + $ make -f Makefile clean + $ make -f Makefile You can select keymap(ansi is default) like this: - $ make KEYMAP=[ansi|iso|hasu] + $ make -f Makefile KEYMAP=[ansi|iso|hasu] + +To program TMK Converter: + + $ make -f Makefile dfu + +To program Teensy2.0: + + $ make -f Makefile.teensy teensy + +Use **Makefile.rev1** for TMK Converter rev.1 and **Makefile.teensy** for Teensy2.0 instead of **Makefile**. For TMK Converter rev.2 just use **Makefile**. Keymap ------ You can change a keymap by editing code of keymap_[ansi|iso|hasu|yours].c. -How to define the keymap is probably obvious. You can find key symbols in common/keycode.h. And see doc/keymap.md for more detail. +How to define the keymap is probably obvious. You can find key symbols in common/keycode.h. And see [doc/keymap.md](../../tmk_core/doc/keymap.md) for more detail. Magic command @@ -85,6 +96,12 @@ https://github.com/tmk/tmk_keyboard/blob/master/README.md#mechanical-locking-sup Also you may want to remove locking pin from the push-lock switch to use capslock as a normal momentary switch. +Mouse support +------------- +ADB mouse support was added by @mek-apelsin on Apr,2015. It supports only one button as of now. +https://github.com/tmk/tmk_keyboard/pull/207 + + Notes ----- Not-extended ADB keyboards have no discrimination between right modifier and left one,