X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fps2_usb%2FREADME.md;h=1ad28589974a09fd86b8314836afd2b4f3e6cc66;hb=f664a993d2ab876435eccf25d1ec126d1f5e3191;hp=8a535949d8df77381d137fb70694de0b070cdbb3;hpb=d9fee5571d7de08e76dff5ce75816faf522240f6;p=max%2Ftmk_keyboard.git diff --git a/converter/ps2_usb/README.md b/converter/ps2_usb/README.md index 8a535949..1ad28589 100644 --- a/converter/ps2_usb/README.md +++ b/converter/ps2_usb/README.md @@ -5,36 +5,30 @@ This firmware converts PS/2 keyboard protocol to USB.(It supports Scan Code Set 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) - **Busywait**: **Clock** is on `PD1` and **Data** on `PD0`. - **USART**: **Clock** is on `PD5` and **Data** on `PD2`. -3. Optionally you need pull-up resistor. 1K-10K Ohm is OK. +3. You need pull-up resistors. 1K-10K Ohm would be fine. -To change pin configuration edit config.h. +To change pin configuration edit **config.h** and **Makefile**. Build Firmware -------------- -For **PJRC Teensy** just run `make`: - - $ make clean - $ make - -To select keymap: +For **TMK converter Rev.2**: - $ make clean - $ make KEYMAP=[plain|jis|spacefn|...] + $ make -f Makefile.rev2 clean + $ make -f Makefile.rev2 KEYMAP=plain -After that you will find HEX file `ps2_usb_lufa.hex` in current directory. +To program firmware push the button on converter and run: + $ make -f Makefile.rev2 KEYMAP=plain dfu -- For **TMK converter Rev.1** use `make -f Makefile.tmk_rev1` instead of `make` and HEX file is `ps2_usb_tmk_rev1.hex`. -- For **TMK converter Rev.2** use `make -f Makefile.tmk_rev2` instead of `make` and HEX file is `ps2_usb_tmk_rev2.hex`. +- For **TMK converter Rev.1** use `make -f Makefile.rev1` instead. +- To select keymap use `jis`, `spacefn` or your own in place of `plain`. Keymap