X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fps2_usb%2FREADME.md;h=1ad28589974a09fd86b8314836afd2b4f3e6cc66;hb=fb248461b8ebe3a8a68aba69f53cac7534218cf9;hp=537e92e64fcc4092d9128ee24a02c0b97194c721;hpb=7209c1d38703eb5ca5c13bd6143c2e7312a15a88;p=max%2Ftmk_keyboard.git diff --git a/converter/ps2_usb/README.md b/converter/ps2_usb/README.md index 537e92e6..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 register. 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 @@ -58,8 +52,7 @@ To select method edit Makefile. V-USB Support ------------- -You can also use this converter on ATmega(168/328) with V-USB instead of Teensy. -The converter on V-USB lacks some features for now: USB NKRO and System/Media control. +With V-USB you can use this converter on ATmega(168/328) but it doesn't support NKRO at this time. Circuit: