Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.6KB

10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. IBM 4704 to USB keyboard converter
  2. ==================================
  3. This firmware converts IBM 4704 keyboard protocol to USB HID.
  4. Keyboard initialization process takes a few seconds at start up. **You may need to plug USB cable after hooking up your keyboard to the converter.**
  5. TMK Converter for IBM4704 is available here: https://geekhack.org/index.php?topic=72052.0
  6. Update
  7. ------
  8. - 2016/09/30 Unimap editor support
  9. - 2015/09/07 Added keymap for Alps 102-key. Thanks, tai @ geekhack!
  10. - 2015/05/05 Added keymaps for 107-key, 77-key and 50-key. Thanks, orihalcon @ geekhack!
  11. - 2015/05/19 Fixed a protocol handling bug.
  12. Supported Keyboard
  13. ------------------
  14. ### IBM capacitive switch models:
  15. - 6019273 Model 100 50-key (grid layout) http://kishy.ca/?p=894
  16. - 6019284 Model 200 62-key Alpha(60% layout) http://kishy.ca/?p=894
  17. - 6019303 Model 300 77-key Expanded Alpha http://deskthority.net/photos-f62/ibm-6019303-t8502.html
  18. - 6020218 Model 400 107-key Full key http://kishy.ca/?p=894
  19. ### Alps switch(vintage Green) models:
  20. - 5954339 Japanese 102-key http://deskthority.net/post87127.html#p87127
  21. - 6112883 Japanese 102-key http://geekhack.org/index.php?topic=52888.msg1194489#msg1194489
  22. - 6112884 Japanese 102-key http://geekhack.org/index.php?topic=50437.msg1193047#msg1193047
  23. - 6341739 Chinese 102-key http://geekhack.org/index.php?topic=52888.msg1176566#msg1176566
  24. Connector
  25. ---------
  26. Keyboard Plug from front:
  27. DSUB-9
  28. -------------
  29. \ N 2 3 4 5 /
  30. \ N N N N /
  31. ---------
  32. 2 GND
  33. 3 VCC 5V
  34. 4 DATA
  35. 5 CLOCK
  36. N No connection/No pin.
  37. Connection
  38. ----------
  39. In case of using ATMega32U4/U2
  40. 1. Supply power with VCC and GND.
  41. 2. Connect CLOCK to PD1 and DATA to PD0. You can change pin with config.h.
  42. 3. Optionally you may need pull-up register. 1KOhm probably work.
  43. TMK Converter can supports IBM 4704.
  44. https://github.com/tmk/keyboard_converter
  45. Build Firmware
  46. --------------
  47. Just run `make`:
  48. $ make -f <makefile>
  49. For TMK Converter rev.1 use `Makefile.rev1` as makefile:
  50. $ make -f Makefile.rev1
  51. For TMK Converter rev.2 use `Makefile.rev2` as makefile:
  52. $ make -f Makefile.rev2
  53. To select keymap:
  54. $ make -f <makefile> KEYMAP=[plain|alsp102key|...]
  55. To indentify your TMK Converter revision see [this](https://github.com/tmk/keyboard_converter#pcb-revisions).
  56. Keymap
  57. ------
  58. Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap create file named `keymap_<name>.c` and see keymap document(you can find in top README.md) and existent keymap files.
  59. Use `KEYMAP_ALPS102()` to define your keymap for Alps models.