A python script to use a controller as mouse and keyboard.
Currently only working on linux (test on ubuntu 20).
For keyboard input, an on screen keyboarded name onboard is used.
This is a personal project under development. All feature requests and issues and appreciated.
- "Xlib.threaded" is imported but never used. The import is to fix an issues xlib has with multi-threaded usage.
- You can change sensitivty and dead-zone parameters in the config.yaml file.
sudo apt install onboard
python3 -m pip install git+https://github.com/sandstorm12/ControllerPy.git
Put the config.yaml file at your current path in terminal
controllerpy
- Add a list of used libraries to the main readme
- Make the config file a system argument
- Add a default layout
- Generate default config file
- Test with Dual Shock controller
- Add Windows support
Make config file custom and createable from cli- Add cli interface
- Add version cli option
- List controllers using cli options
- Add vibration feedback (no pygame support)
- Support analog trigger
- Add multi-key press support
- Add more keyboard keys
- Add on start-up launch support
- Auto detect and report controller connection and disconnection
- Hamid Mohammadi: [email protected]