選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
このリポジトリはアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュや、課題・プルリクエストのオープンはできません。

README.md 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Alternative Controller for HHKB Pro
  2. ===================================
  3. I wanted to add some features like vi cursor and mouse keys to my [HHKB][HHKB] but its controller is not programmable and firmware source code is not open, of course. This means customizing this keyboard needs to replace original controller with programmable one.
  4. This controller can work with HHKB **Professional**, **Professional** 2 and **Type-S**.
  5. See [this thread][AltController] in geekhack.org.
  6. [HHKB]: http://www.pfu.fujitsu.com/hhkeyboard/
  7. [AltController]: http://geekhack.org/index.php?topic=12047.0
  8. ##Features
  9. * Customizable keymap
  10. * More keymap layers(more Fn keys)
  11. * Mouse keys
  12. * USB NKRO
  13. See README of [tmk_keyboard] for more.
  14. [tmk_keyboard]: http://github.com/tmk/tmk_keyboard
  15. ###Pros
  16. * No risks: Everything is all reversible
  17. * No need for PCB trace patching, case cutting or any other destructive mod
  18. * Can keep original controller intact
  19. * Can change all HHKB behavior as you like
  20. ###Cons
  21. * Void your warranty
  22. * Lose USB hub function of Pro2
  23. ##DISCLAIMER
  24. I'm not a professional of electronics nor MCU programming. This may damage your HHKB.
  25. And my English writing is poor, I'm not sure I can convey my notions accurately.
  26. ##Documents
  27. See [doc/HHKB.txt](doc/HHKB.txt) and files under [doc/](doc/) for internal of HHKB and this controller.
  28. ##Build Firmware & Program
  29. See [this document](../../doc/build.md) first.
  30. ### Configuration
  31. Set `MCU`, `BOOTLOADER_SIZE` and other build options in `Makefile` and `config.h`.
  32. ### Build
  33. Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. Just `make` with `KEYMAP` option like:
  34. $ make KEYMAP=[hasu|hhkb|spacefn|<name>]
  35. ### Program
  36. First, push reset button on board to start bootloader.
  37. This command programs the controller with [dfu-programmer] if the tool is installed and configured properly.
  38. $ make dfu
  39. Or you can also use [FLIP] command to program. Also the tool should be installed and configured properly. FLIP GUI application is also available.
  40. $ make flip
  41. Use [Teensy Loader] if your controller is Teensy/Teensy++.
  42. ##Keymap
  43. 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.
  44. ##Hardware
  45. You have some options for hardware. Development boards with USB AVR family(ATMega32U4, AT90USB1286) like Teensy will work while MegaAVR with [V-USB] library is also cheaper option for DIY.
  46. ###1. TMK Alt Controller Board
  47. TMK designed [Keyboard Controller Board for HHKB Pro2(KiCad project)](https://github.com/tmk/HHKB_controller).
  48. See [this post](http://geekhack.org/index.php?topic=12047.msg948923#msg948923).
  49. ###2. PJRC Teensy++ 2.0 version
  50. +---------------+
  51. | Teensy++ |
  52. | |
  53. | | HHKB pro HHKB pro2
  54. | | ~~~~~~~~ ~~~~~~~~~
  55. | PB0-2|------->ROW (6-8) (5-7)
  56. | PB3-5|------->COL (9-11) (8-10)
  57. | PB6|------->ENABLE (12) (11)
  58. | PE6|<-------KEY (4) (3)
  59. | PE7|------->PREV (5) (4)
  60. | |
  61. | | 5V--- (1-3) (1-2)
  62. | | GND--- (13-14) (12-13)
  63. +---------------+
  64. - NOTE: PJRC [Teensy](http://www.pjrc.com/teensy/)
  65. ###3. V-USB version
  66. See [V-USB controller for HHKB](doc/V-USB.md)
  67. [LUFA]: http://www.fourwalledcubicle.com/LUFA.php
  68. [PJRC]: http://www.pjrc.com/teensy/usb_keyboard.html
  69. [dfu-programmer]: http://dfu-programmer.sourceforge.net/
  70. [FLIP]: http://www.atmel.com/tools/FLIP.aspx
  71. [Teensy Loader]: http://www.pjrc.com/teensy/loader.html
  72. [V-USB]: http://www.obdev.at/products/vusb/index.html