Can arduino pro mini take ps/2 and uart input and convert them to usb?

I am trying to figure out what hardware I need in order to create the following: An old wired usb keyboard that sends data to pc through usb port, but can also receive keystrokes over wifi and send those to the pc as well.

I am thinking since many older wired keyboards can fall back to ps/2, I could wire the keyboard to the arduino as you would any ps/2 device, and I would also wire a esp32 to the arduino. The arduino would receive the keyboards input via ps/2, and also receive the wifi keystroke data from the esp32 via tx/rx connection.

I would use some sketch that converts data to usb and determines when to send which one to the pc.

Can anyone guide me in the right direction how to choose correct hardware to engineer this?