AutoKey
Python program that uses pynput to simulate key presses. Probably only works on Windows. Can be used for pretty much whatever you want except some games.
Installation
Download the .exe from the releases page and run it. No other downloads are required. If you don't have Windows then look up how to install Python because I don't feel like writing it down. And as I previously mentioned it probably only works on Windows anyways.