A gamepad visualizer written in Python with Flexx and Pygame with assets from e7d's visualizer.
Most gamepad visualizers work by reading inputs directly from the browser. This comes with the requirement that the gamepad be connected to the same device you want the visualizer to display on.
The purpose of this project is to enable users to connect their gamepad to any device and display the visualizer on a separate device, as long as the two devices are accessible to each other.
- PlayStation DS4
- Linux
- MacOS
- Windows
You must have Python 3.5+. Flexx has a known issue with Python 3.9 however.
$ pip install -r requirements.txt
NOTE: Depending on your OS, you may encounter an error regarding missing dependencies for
pygame
. Please refer to their dependency docs.
$ python3 server.py
Serving apps at http://0.0.0.0:3000
Open your local browser to http://0.0.0.0:3000, or, if the gamepad is connected to a separate device, open your browser to http://IP_ADDRESS:3000 where IP_ADDRESS
is the IP address of the separate device.