summaryrefslogtreecommitdiff
path: root/m0110_usb/README
blob: 4122edb287b23f63a80c159686b4dd86300f18a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
M0110 to USB keyboard converter
===============================
This firmware converts protocol for Apple Machintosh Keybard M0110.


Connection
----------
You need 4P4C plug and cable to connect Teensy into M0110.
Teensy port F0 is assigned for CLOCK line and F1 for DATA by default, you can change pin configuration with editing config.h..

Plug:
    http://en.wikipedia.org/wiki/Modular_connector#4P4C

Pinout:
    http://www.kbdbabel.org/conn/kbd_connector_macplus.png
    1(Black):   GND
    2(Red):     CLOCK
    3(Green):   DATA
    4(Yellow):  +5V



Build Frimware
--------------
Optionally edit Makefile and config.h for build options, pin configuration or MCU.

$ cd m0110_usb
$ make
and program your Teensy with loader.



Keymap
------
You can change a keymap by editing code of keymap.c like following.
How to define the keymap is probably obvious. You can find  key symbols in usb_keycodes.h.

This is a default keymap for M0110.
,---------------------------------------------------------.
|  `|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|Bacpa|
|---------------------------------------------------------|
|Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|  \|
|---------------------------------------------------------|
|CapsLo|  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Return|
|---------------------------------------------------------|
|Shift   |  Z|  X|  C|  V|  B|  N|  M|  ,|  ,|  /|Shift   |
`---------------------------------------------------------'
     |Opt|Alt |         Space               |Alt |Opt|
     `-----------------------------------------------'


Notes
-----

EOF