Plugs:

Click a plug for everything it can do.

All plugs work on either side (input or output).

Using any plug:

Plug details:

XT — XT keyboard + serial mouse

Connectors

  • DIN-5 (180°) keyboard jack.
  • DB9 male serial mouse port.
  • Works on either side. Console name: xt (older name xtser still accepted).

Input side (your devices)

  • Reads an IBM PC/XT-protocol keyboard (83-key XT and compatibles). XT/AT auto-switch keyboards see a real XT and switch to XT.
  • Reads a Microsoft-protocol serial mouse: 2 buttons, plus the third button on Logitech mice.
  • Keyboard and mouse run at the same time.

Output side (to the computer)

  • Acts as an XT keyboard to an IBM PC, XT or compatible.
  • Acts as a Microsoft / Logitech 3-button serial mouse on the PC's serial port.
  • Cables: DIN-5 male-to-male for the keyboard; straight DB9 female-to-female for the mouse (no null-modem needed).

Settings

  • xt kbd ps2: the DIN-5 speaks AT / PS/2 instead, for an AT keyboard or an AT computer. xt kbd xt goes back. Add save settings to keep it.
  • mouse serial 2: input mouse speed (default 1x).
  • mouse usb to xt 1/2: slow a USB mouse only when this plug is the output.

Good to know

  • XT keyboards have no lock LEDs, and the XT protocol is one-way.
  • No mouse wheel. Wheel (IntelliMouse) mice work as plain 2/3-button mice; middle button only on mice that send the Logitech extra byte.
  • A serial mouse swapped while running keeps the old identity until you type probe.
  • Remap: map xt <code> <key>, codes are set-1 scancodes (trace on shows them). map hid to xt f11 raw 0x57 sends any keyboard's F11 as XT scancode 57.

↑ back to plug list

PS/2 (AT) — PS/2 keyboard + PS/2 mouse

Connectors

  • Two mini-DIN-6 jacks with fixed jobs: JP1 = keyboard, JP2 = mouse (both sides).
  • Works on either side. Console name: ps2.

Input side (your devices)

  • Reads a PS/2 keyboard, or an AT (DIN-5) keyboard through a passive adapter. XT/AT auto-switch keyboards are handled and settle on AT.
  • Reads a PS/2 mouse: 3 buttons.
  • Lock LEDs follow the computer's Caps/Num/Scroll state when the output is USB.

Output side (to the computer)

  • Acts as a PS/2 keyboard and a PS/2 mouse to an AT / PS/2 PC.
  • Cables: mini-DIN-6 male-to-male, one for each port you use.

Settings

  • ps2 kbd xt: JP1 speaks XT instead, for an XT keyboard or an XT computer through a mini-DIN-6 ↔ DIN-5 adapter. The mouse jack stays PS/2. ps2 kbd ps2 goes back; save settings keeps it.
  • mouse ps2 2: input mouse speed (default 1x).
  • mouse adb to ps2 2: change one mouse type's speed only when this plug is the output.

Good to know

  • Keyboard and mouse cables swapped? It is detected (an error shows with trace on) but not corrected, so swap them back.
  • No mouse wheel yet, both directions.
  • probe reads the attached keyboard's ID.
  • Remap: map ps2 <code> <key>, codes are set-2 scancodes, E0 keys written as 0xe0xx (0xe071 = Delete).

↑ back to plug list

USB — USB keyboard, mouse and/or gamepad

Connectors

  • One USB-A port. (The base's USB-C port is for power, setup and firmware, not this.)
  • Works on either side, but not on both sides at once (status shows refused: USB on both sides). Console name: usb.

Input side (your devices)

  • Reads one keyboard, one mouse and one gamepad: a single device, a combo receiver (for example Logitech Unifying), or several devices on a USB hub.
  • Keyboards: full n-key rollover if the keyboard supports it.
  • Mice: 3 buttons and wheel.
  • Gamepads: standard HID gamepads go to the USB output's gamepad. Xbox-style (XInput) pads are not supported.

Output side (to the computer)

  • Acts as a USB keyboard, mouse (3 buttons + wheel) and gamepad (4 axes, 8 buttons) to the PC.
  • Works in BIOS / setup screens and KVMs (boot keyboard) and gives full n-key rollover in the OS.
  • Cable: USB 2.0 A-to-A.
  • The computer's Caps/Num/Scroll lock state is shown on a PS/2 or ADB input keyboard's LEDs.

Settings

  • usb: shows the connected devices and their modes.
  • usb nkro out off: plain 6-key keyboard to the PC, if a KVM or program has trouble.
  • usb nkro in off: use the 6-key mode on an input keyboard that misbehaves (applies next time it is plugged in).
  • mouse usb 2: input mouse speed (default 1x). mouse usb to adb 1/4 tames a modern mouse into a Mac.

Good to know

  • With n-key rollover on, the PC shows two keyboards. That is normal (same as gaming keyboards); only one carries keys at a time.
  • A USB input keyboard's own lock LEDs are not driven yet.
  • A C64 joystick (C64 x 1 plug) shows up as the USB gamepad.
  • Remap: map usb <code> <key>, codes are HID usage numbers.

↑ back to plug list

Mac Plus/128K/512K — phone-cord keyboard + DB9 mouse

Connectors

  • 4P4C (phone-cord style) keyboard jack.
  • DE-9 mouse port.
  • Works on either side. Console name: macplus (older name m0110 still accepted).

Input side (your devices)

  • Reads M0110, M0110A and M0120 (keypad) keyboards. Plugging in later is detected.
  • Reads an M0100 Mac mouse or an Apple IIc mouse.
  • Ctrl+click is a right click when the output has a second button (USB, PS/2, serial). Ctrl comes from a third-party keyboard's Control key or a map macplus rule.
  • The latching Caps Lock key is handled for you. These keyboards have no LEDs.

Output side (to the computer)

  • Acts as an M0110A keyboard (with keypad and arrows) to a Mac 128K, 512K or Plus.
  • Acts as an M0100 mouse on the DE-9.
  • Keys the Mac keyboard doesn't have (Ctrl, Esc, F-keys) are dropped unless you remap them.
  • Caps Lock: each tap locks / unlocks, and the state shows on the input keyboard's Caps LED.
  • Cables: straight-wired 4P4C for the keyboard; straight-wired DB9 male-to-male for the mouse.

Settings

  • mouse quad 3: input mouse speed (default 2x).
  • mouse usb to macplus 1/2: slow a USB mouse going into the Mac.

Good to know

  • Remap: map macplus <code> <key>, codes are the 7-bit Mac key codes (trace on shows them).

↑ back to plug list

ADB (Mac) — ADB keyboard + ADB mouse

Connectors

  • Two mini-DIN-4 ADB jacks: one each for keyboard and mouse, or chain the mouse through the keyboard.
  • Works on either side. Console name: adb.

Input side (your devices)

  • Reads ADB keyboards and mice. Command = GUI / Windows key, Option = Alt.
  • Keypad Clear = Num Lock; Power key = HID Power.
  • Ctrl+click on the one-button mouse is a right click into any output with a second button.
  • Lock LEDs follow the computer (USB output) or the Mac Plus Caps Lock state.
  • The plug pauses about 0.6 s when it starts while the keyboard runs its self-test.

Output side (to the computer)

  • Acts as an ADB keyboard and mouse to an ADB Mac.
  • Cable: one mini-DIN-4 (S-Video style) male-to-male. Keyboard and mouse share it.
  • Right-side Shift/Ctrl/Option act as the left ones unless the Mac software switches the keyboard to Extended mode.
  • Caps Lock: Macs expect a locking key. A modern keyboard's Caps tap is press + release, so hold Caps Lock to keep it on.

Settings

  • mouse adb 2: ADB mouse speed (default 4x, since ADB mice are low resolution).
  • mouse usb to adb 1/4: slow a USB mouse going into the Mac.

Good to know

  • One button, no wheel.
  • probe lists every device on the ADB bus.
  • Remap: map adb <code> <key>, codes are the 7-bit ADB key codes. Worked example: Clear key → Delete.

↑ back to plug list

Victor 9000 — Victor keyboard + serial mouse

Connectors

  • 8P8C (RJ45) Victor keyboard jack.
  • DB9 male serial mouse port.
  • Works on either side. Console name: v9k (older name vicser still accepted).

Input side (your devices)

  • Reads a Victor 9000 keyboard. Victor ALT = Alt.
  • Reads a Microsoft-protocol serial mouse (third button on Logitech mice), same as the XT plug.
  • Built-in shortcuts: PAUSE = right Ctrl (the Victor has no Ctrl key) and ALT + = → backslash.
  • 14 Victor keys have no PC equivalent and send nothing until you map them (trace debug shows their codes).

Output side (to the computer)

  • Acts as a Victor keyboard to a Victor 9000. Keys are sent 20 ms apart (the Victor drops faster bursts).
  • Acts as a Microsoft / Logitech 3-button serial mouse on the DB9.
  • Cables: RJ45 / Cat5 for the keyboard; straight DB9 female-to-female for the mouse.

Settings

  • mouse serial 2: input mouse speed (default 1x).
  • map v9k 0x61 default removes the PAUSE = Ctrl shortcut; map dump full lists the built-ins.

Good to know

  • The Victor keyboard has no LEDs and no ID.
  • No mouse wheel (see the XT plug notes for serial mouse details).
  • Remap: map v9k <position> <key>, positions are 0x00–0x67 or a keycap name. Example: map v9k 0x0c shift+8 makes the DEG key type *.

↑ back to plug list

BUS Mouse — MS InPort / Logitech bus mouse + PS/2 keyboard

Connectors

  • JP1: mini-DIN-6 PS/2 keyboard jack.
  • JP2: mini-DIN-9 bus mouse jack.
  • Works on either side. Console name: ps2bus.

Input side (your devices)

  • Reads a Microsoft InPort or Logitech bus mouse (3 buttons).
  • Reads a PS/2 keyboard, same as the PS/2 plug.

Output side (to the computer)

  • Drives a retro PC's bus mouse card (InPort / Logitech) as if a bus mouse were plugged in.
  • Acts as a PS/2 keyboard to the PC.
  • Cables: mini-DIN-9 male-to-male (mouse), mini-DIN-6 male-to-male (keyboard).
  • Check the mini-DIN-9 cable first: these cables have no standard wiring. With power off, ohm out all 9 pins pin-to-pin and label the cable before first use. A miswired cable can damage the plug.
  • The bus mouse card and/or the base's USB-C power run it; the PC's PS/2 port never powers it.

Settings

  • ps2bus: shows the settings and the mouse line levels.
  • ps2bus invert x on / ps2bus invert y on: flip an axis if the pointer moves backwards (both sides).
  • ps2bus step 500: output pacing, the minimum microseconds between steps (100–5000, default 500). Raise it if the card misses movement.
  • ps2bus kbd xt: JP1 speaks XT through an adapter, same as ps2 kbd xt (needs firmware build 478 or later).
  • mouse bus 2: input mouse speed (default 1x). mouse usb to ps2bus 1/2: what the bus card sees.
  • Settings apply right away; save settings keeps them.

Good to know

  • Keyboard remap works as on the PS/2 plug (map ps2, set-2 codes).

↑ back to plug list

C64 x 1 — one Commodore 64 control port

Connectors

  • One DE-9 male (a C64 control port).
  • Works on either side. Console name: c64x1.

Input side (your devices)

  • Joystick (default): a C64 / Atari-style joystick shows up as the USB output's gamepad.
  • 1351 mouse: c64x1 in 1351. Goes to any mouse output; mouse c64 2 sets its speed.
  • Paddles: c64x1 in paddle shows the raw paddle values in c64x1 only (not sent on).

Output side (to the C64)

  • Any input mouse becomes a 1351 mouse (default): left button = fire, right button = 1351 right button.
  • c64x1 mode paddle: the mouse becomes a pair of paddles (X and Y), mouse buttons = paddle buttons. c64x1 mode off stops it.
  • The C64 must be on: with it off the plug lets go of every line (waiting for system power).
  • Cable: DB9 female-to-female, straight-through only. A null-modem cable crosses pins 7 and 8 and shorts the C64's 5 V. Check the cable first.

Settings

  • c64x1: shows the mode and live line states. c64x1 watch updates it until a key is pressed.
  • c64x1 joy 10: hold fire down from the console (up=1 down=2 left=4 right=8 fire=10, add them up).

Good to know

  • C64 x 1 settings are not saved yet: set the mode again after a power cycle.
  • A C64 joystick is passed to joystick outputs only (USB); it does not turn into keys.

↑ back to plug list

IBM Term — IBM terminal keyboard + PS/2 mouse

Connectors

  • RJ45 terminal keyboard jack.
  • Mini-DIN-6 PS/2 mouse jack.
  • Works on either side. Console name: ibmterm.

Input side (your devices)

  • Reads IBM 122-key terminal keyboards (scancode set 3, "Mode 2" Model M boards such as the InfoWindow 1395660 / 1395560) and 101/102-key terminal boards.
  • Every key sends both press and release, so the extra keys work normally.
  • 122-key layout: top row = F13–F24, the row below = F1–F12. Left cluster = PrtSc/Esc, Scroll Lock, Pause, App (menu) and the GUI / Windows keys.
  • Mouse: a 3-button PS/2 mouse, same as the PS/2 plug's mouse jack.

Output side (to the computer / terminal)

  • Acts as an IBM terminal keyboard (scancode set 3) to a system that expects one, plus a 3-button PS/2 mouse.
  • Lock LED commands from the system are passed back to the input keyboard.
  • Cables: straight RJ45 patch cable for the keyboard; mini-DIN-6 male-to-male for the mouse.
  • The keyboard and mouse jacks share power, so on the output side both must go to the same computer.

Settings

  • probe: shows the input keyboard's ID (BFxx = 122-key, 7Fxx = 101/102-key).
  • mouse ps2 2: mouse speed (default 1x).
  • ibmterm id bfbf: the keyboard ID the output side reports (default bfbf = 122-key terminal; ab86 = 122-key Model M; ab83 = standard keyboard, which Linux needs).
  • ibmterm layout 122 / ibmterm layout 101: where the output side puts Esc, PrtSc, Scroll Lock, Pause, GUI and App (default 122 = the terminal's left cluster). For Linux use ibmterm id ab83 plus ibmterm layout 101. Layout 101 drops F13, F23 and F24.
  • These apply right away; save settings keeps them.

Good to know

  • Remap: map ibmterm <code> <key>, codes are set-3 scancodes (trace on shows them). Handy for giving F13–F24 or the left cluster new jobs.
  • No mouse wheel.

↑ back to plug list