2025 update: this open source project (also available for purchase pre-built at the second link below) notes that it converts any modern USB keyboard to work with PS/2 input on a computer, as well as the XT and AT protocols for original IBM computers:
https://github.com/rasteri/HIDman
https://retrohackshack.com/product/hidman-usb-keyboard-converter/
