diff options
author | tmk <nobody@nowhere> | 2011-12-14 12:13:32 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-12-14 13:33:05 +0900 |
commit | 3f0289e66678af8c2d1f001ccb9cb34ccfba7c5c (patch) | |
tree | 98519c2a10124308bb9e2f731712ed5379642599 /m0110_usb/README | |
parent | e2afc305edc7133e42cab8c2a30b1e214f4926f8 (diff) |
Added protocol support for Macintosh keyboard M0110.
Diffstat (limited to 'm0110_usb/README')
-rw-r--r-- | m0110_usb/README | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/m0110_usb/README b/m0110_usb/README new file mode 100644 index 0000000000..4122edb287 --- /dev/null +++ b/m0110_usb/README @@ -0,0 +1,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 |