Input side = the keyboard / mouse you are using. Output side = the computer.
Any input plug works with any output plug: keyboards go to keyboards, mice to mice
(for example an ADB keyboard + mouse into a PS/2 PC).
Plug the devices / cables into the plug first, then seat the plug in the HID Twister base.
The base reads the plug's ID and sets itself up; no reboot needed.
System-side cables are straight-wired (pin 1 to pin 1). See
cables needed.
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).
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).
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).
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.