@Pharrell
Your model PC has USB 2.0 ports and no PS/2 ports for keyboard or mouse -- so you are restricted to using USB mouse and keyboard.
If you can't get a keyboard to work, you're not going to be able to boot into the BIOS settings to enable Legacy USB -- if that is what is needed.
Is this PC still under the HP one-year warranty?
I am a volunteer and I do not work for, nor represent, HP