Plan 9 from Bell Labs’s /n/sources/patch/usbkb-map/readme
finally got the usbhid→ps2 scancode translation right.