Translates the signals from the controller, to pressing the key of keyboard.
Requirements:
- pygame http://www.pygame.org/news
- python keyboard https://pypi.python.org/pypi/keyboard
- pyautogui (Actualy, this library don't work when game will running, but Py Keyboard working great!)
Change the KeyList.py to keys, which you want to simuate.
How it works: 1. PyGame get signals from GamePad and collect this signals into array (function get()). 2. Then, function pushVirtualKey(K) return string value of buttons from gamepad, which was pressed. 3. And the end - function pushMultiply(keysSend) emulate pressing and unpressing the button with accordingly with data from KeyList.py