Don't need multiple threads on the same question, your others were removed to keep things clean. Keyboards and Mice don't have USB ports (unless you are talking about pass-through ports that some keyboards have), they have USB cables and connectors. They are all standard USB Type A connections.
https://www.makeuseof.com/tag/understanding-usb-cable-types-one-use/