您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
Ethan Apodaca bafb746485 Update XT converter readme. 8 年前
..
Makefile Codes appear to be detected correctly, the break codes are broken. 8 年前
README.md Update XT converter readme. 8 年前
config.h Update config.h 8 年前
keymap_common.c Codes appear to be detected correctly, the break codes are broken. 8 年前
keymap_common.h Codes appear to be detected correctly, the break codes are broken. 8 年前
keymap_jis.c Codes appear to be detected correctly, the break codes are broken. 8 年前
keymap_plain.c Codes appear to be detected correctly, the break codes are broken. 8 年前
keymap_spacefn.c Codes appear to be detected correctly, the break codes are broken. 8 年前
led.c Codes appear to be detected correctly, the break codes are broken. 8 年前
matrix.c Mostly working. Is unstable, will emit bad codes after a while. 8 年前

README.md

XT to USB keyboard converter

This firmware converts XT keyboard protocol to USB.(It supports Scan Code Set 1.)

Connect Wires

In case of Teensy2.0(ATMega32U4):

  1. Connect Vcc and GND.
  2. Connect Clock and Data line.
    • Interrupt: Clock is on PD1 and Data on PD0.(Recommended. Soarer’s converter compatible)
  3. Optionally you need pull-up resistor. 1K-10K Ohm is OK.

To change pin configuration edit config.h and Makefile.

Build Firmware

For PJRC Teensy just run make:

$ make clean
$ make

To select keymap:

$ make clean
$ make KEYMAP=[plain|jis|spacefn|...]

After that you will find HEX file xt_usb_lufa.hex in current directory.

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 README.md of top directory) and existent keymap files.