Skip to content

Translates the signals from the controller, to pressing the key of keyboard

Notifications You must be signed in to change notification settings

Ver1Sus/Gamepad_Emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GamePad Emulator on Python2.7

Gamepad_Emulator

Translates the signals from the controller, to pressing the key of keyboard.

Requirements:

  1. pygame http://www.pygame.org/news
  2. python keyboard https://pypi.python.org/pypi/keyboard
  3. 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

About

Translates the signals from the controller, to pressing the key of keyboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages