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