You could use an rpi pico. It has a usb port and there is a software hack to bit bang a second usb port, iirc.
To go one step higher, I am trying to control a mac mini from the keyboard of a macBook.
But yes, it's overkill for an overkill solution. Buying another keyboard may be easier.