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