Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Ce dépôt est archivé. Vous pouvez voir les fichiers et le cloner, mais vous ne pouvez pas pousser ni ouvrir de ticket/demande d'ajout.
tmk 75ca495c01 ibm4704_usb: Fix scan code range for Alps 102-key il y a 8 ans
..
Makefile ibm4704_usb: Add Makefiles for TMK Converter il y a 8 ans
Makefile.tmk_rev1 ibm4704_usb: Add Makefiles for TMK Converter il y a 8 ans
Makefile.tmk_rev2 ibm4704_usb: Add Makefiles for TMK Converter il y a 8 ans
README.md ibm4704_usb: Fix README.md il y a 8 ans
config.h ibm4704_usb: Fix protocol handling il y a 9 ans
ibm4704.txt ibm4704_usb: Fix scan code range for Alps 102-key il y a 8 ans
keymap_50key.c ibm4704_usb: Add keymaps for 107 and 50-key il y a 9 ans
keymap_alps102key.c ibm4704: Add keymap for Alps 102-key il y a 8 ans
keymap_common.c Change key_t to keypos_t il y a 9 ans
keymap_common.h ibm4704: Add keymap for Alps models il y a 8 ans
keymap_hasu.c ibm4704_usb: Add keymaps for 107 and 50-key il y a 9 ans
keymap_plain.c ibm4704_usb: Add keymaps for 107 and 50-key il y a 9 ans
led.c Add Initial files of 4704_usb il y a 10 ans
matrix.c ibm4704_usb: Fix scan code range for Alps 102-key il y a 8 ans

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.

Update

  • 2015/09/07 Added keymap for Alps 102-key. Thanks, tai @ geekhack!
  • 2015/05/05 Added keymaps for 107-key, 77-key and 50-key. Thanks, orihalcon @ geekhack!
  • 2015/05/19 Fixed a protocol handling bug.

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/U2

  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.

TMK Converter can supports IBM 4704. https://github.com/tmk/keyboard_converter

Build Firmware

Just run make:

$ make -f <makefile>

For TMK Converter rev.1 use Makefile.tmk_rev1 as makefile:

$ make -f Makefile.tmk_rev1

For TMK Converter rev.2 use Makefile.tmk_rev2 as makefile:

$ make -f Makefile.tmk_rev2

To select keymap:

$ make -f <makefile> KEYMAP=[plain|...]

To indentify your TMK Converter revision see this.

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.

Use KEYMAP_ALPS102() to define your keymap for Alps models.