Keyboard firmwares for Atmel AVR and Cortex-M
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
tmk e2077cad45 Change key_t to keypos_t 9 年前
..
Makefile Add keymap_hasu.c 10 年前
README.md Fix markdown syntax 10 年前
config.h Change IS_COMMAND macro 10 年前
ibm4704.txt Fix README.md and ibm4704.txt 10 年前
keymap_common.c Change key_t to keypos_t 9 年前
keymap_common.h Add keymap_hasu.c 10 年前
keymap_hasu.c Add keymap_hasu.c 10 年前
keymap_plain.c Change keymap_plain.c 10 年前
led.c Add Initial files of 4704_usb 10 年前
matrix.c Tweak keyboard initialize 10 年前

README.md

IBM 4704 to USB keyboard converter

This firmware converts IBM 4704 keyboard protocol to USB HID.

Keyboard initialization process takes a few seconds at start up. During that you will hear buzzer from the keyboard. You need to plug USB cable after hooking up your keyboard to the converter.

Supported Keyboard

IBM capacitive switch models:

Alps switch(vintage Green) models:

Connector

Keyboard Plug from front:

DSUB-9
-------------
\ N 2 3 4 5 /
 \ N N N N /
  ---------
2   GND
3   VCC 5V
4   DATA
5   CLOCK
N   No connection/No pin.

Connection

In case of using ATMega32U4(Teensy2.0):

  1. Supply power with VCC and GND.
  2. Connect CLOCK to PD1 and DATA to PD0. You can change pin with config.h.
  3. Optionally you may need pull-up register. 1KOhm probably work.

Build Firmware

Just run make:

$ make

To select keymap:

$ make KEYMAP=[plain|...]

Keymap

Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. 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.