Keyboard firmwares for Atmel AVR and Cortex-M
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. M0110 to USB keyboard converter
  2. ===============================
  3. This firmware converts protocol for Apple Machintosh Keybard M0110.
  4. Connection
  5. ----------
  6. You need 4P4C plug and cable to connect Teensy into M0110.
  7. Teensy port F0 is assigned for CLOCK line and F1 for DATA by default, you can change pin configuration with editing config.h..
  8. Plug:
  9. http://en.wikipedia.org/wiki/Modular_connector#4P4C
  10. Pinout:
  11. http://www.kbdbabel.org/conn/kbd_connector_macplus.png
  12. 1(Black): GND
  13. 2(Red): CLOCK
  14. 3(Green): DATA
  15. 4(Yellow): +5V
  16. Build Frimware
  17. --------------
  18. Optionally edit Makefile and config.h for build options, pin configuration or MCU.
  19. $ cd m0110_usb
  20. $ make
  21. and program your Teensy with loader.
  22. Keymap
  23. ------
  24. You can change a keymap by editing code of keymap.c like following.
  25. How to define the keymap is probably obvious. You can find key symbols in usb_keycodes.h.
  26. This is a default keymap for M0110.
  27. ,---------------------------------------------------------.
  28. | `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Bacpa|
  29. |---------------------------------------------------------|
  30. |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \|
  31. |---------------------------------------------------------|
  32. |CapsLo| A| S| D| F| G| H| J| K| L| ;| '|Return|
  33. |---------------------------------------------------------|
  34. |Shift | Z| X| C| V| B| N| M| ,| ,| /|Shift |
  35. `---------------------------------------------------------'
  36. |Opt|Alt | Space |Alt |Opt|
  37. `-----------------------------------------------'
  38. Notes
  39. -----
  40. EOF