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 2.4KB

13 years ago
13 years ago
13 years ago
13 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. t.m.k. Keyboard Firmware
  2. ========================
  3. http://github.com/tmk/tmk_keyboard
  4. This is keyboard firmware for AVR USB MCUs or Teensy/Teensy++ 2.0.
  5. The project is heavily based on PJRC USB Keyboard/Mouse Example and
  6. owes a debt to preceding keyboard firmware projects.
  7. http://www.pjrc.com/teensy
  8. Functions
  9. ---------
  10. Mouse key
  11. System Control Key
  12. Power Down, Sleep, Wake Up & USB Remote Wake up
  13. Media Control Key
  14. Volume Down/Up, Mute
  15. USB NKRO
  16. Build
  17. -----
  18. Compiling sources need AVR GCC, AVR Libc and GNU make.(You can use WinAVR on Windows.)
  19. $ cd <target> (hhkb or macway)
  20. $ make
  21. http://winavr.sourceforge.net/
  22. Build Options
  23. -------------
  24. Makefile:
  25. Comment out to disable the option
  26. # USB NKey Rollover
  27. USB_NKRO_ENABLE = yes
  28. # mouse keys
  29. MOUSEKEY_ENABLE = yes
  30. # PS/2 mouse support
  31. PS2_MOUSE_ENABLE = yes
  32. config.h:
  33. /* USB ID */
  34. #define VENDOR_ID 0xFEED
  35. #define PRODUCT_ID 0xBEEF
  36. /* device description */
  37. #define MANUFACTURER t.m.k.
  38. #define PRODUCT Macway mod
  39. #define DESCRIPTION t.m.k. keyboard firmware for Macway mod
  40. /* matrix size */
  41. #define MATRIX_ROWS 8
  42. #define MATRIX_COLS 8
  43. /* mouse keys repeat delay */
  44. #define MOUSEKEY_DELAY_TIME 192
  45. /* PS/2 lines */
  46. #define PS2_CLOCK_PORT PORTF
  47. #define PS2_CLOCK_PIN PINF
  48. #define PS2_CLOCK_DDR DDRF
  49. #define PS2_CLOCK_BIT 0
  50. #define PS2_DATA_PORT PORTF
  51. #define PS2_DATA_PIN PINF
  52. #define PS2_DATA_DDR DDRF
  53. #define PS2_DATA_BIT 1
  54. Configuration
  55. -------------
  56. Debuging & Rescue
  57. -----------------
  58. Use PJRC's hid_listen.exe to see debug messages.
  59. Press right Control + Shift + Alt + GUI + H to debug menu.
  60. Pressing any 3 keys when connected enables debug output.
  61. Pressing any 4 keys when connected makes bootloader comes up.
  62. Projects related
  63. ----------------
  64. PJRC USB Keyboard/Mouse Example
  65. http://www.pjrc.com/teensy/usb_keyboard.html
  66. http://www.pjrc.com/teensy/usb_mouse.html
  67. kbupgrade
  68. http://github.com/rhomann/kbupgrade
  69. http://geekhack.org/showwiki.php?title=Island:8406
  70. c64key
  71. http://symlink.dk/projects/c64key/
  72. rump
  73. http://mg8.org/rump/
  74. http://github.com/clee/rump
  75. dulcimer
  76. http://www.schatenseite.de/dulcimer.html
  77. humblehacker-keyboard
  78. http://github.com/humblehacker
  79. http://www.humblehacker.com/keyboard/
  80. http://geekhack.org/showwiki.php?title=Island:6292
  81. ps2avr
  82. http://sourceforge.net/projects/ps2avr/
  83. EOF