There are 4 connectors, from left to right the pins are +5v ground ground +12v
Software that interprets commands from the keyboard and mouse is also known as the Operating System, your Operating System controls the basic functionalities of your device including executing commands from your keyboard and mouse.
Wow a lot of work right this is really a lot by your answer will be very difficult I’m a way
You would use a software tool that looks up the synonyms such as The Thesaurus