Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.44 KB

README.md

File metadata and controls

60 lines (39 loc) · 1.44 KB

ControllerPy

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.

Note

This is a personal project under development. All feature requests and issues and appreciated.

Comments

  1. "Xlib.threaded" is imported but never used. The import is to fix an issues xlib has with multi-threaded usage.
  2. You can change sensitivty and dead-zone parameters in the config.yaml file.

Installation

sudo apt install onboard

python3 -m pip install git+https://github.com/sandstorm12/ControllerPy.git

Run

Put the config.yaml file at your current path in terminal

controllerpy

Urgent issues and futures

  1. Add a list of used libraries to the main readme
  2. Make the config file a system argument
  3. Add a default layout
  4. Generate default config file
  5. Test with Dual Shock controller

Issues and futures

  1. Add Windows support
  2. Make config file custom and createable from cli
  3. Add cli interface
  4. Add version cli option
  5. List controllers using cli options
  6. Add vibration feedback (no pygame support)
  7. Support analog trigger
  8. Add multi-key press support
  9. Add more keyboard keys
  10. Add on start-up launch support
  11. Auto detect and report controller connection and disconnection

Contributors

  1. Hamid Mohammadi: sandstormeatwo@gmail.com