Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.38 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.38 KB

Flexx Gamepad

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.

Supported Controllers

  • PlayStation DS4

Supported Operating Systems

  • Linux
  • MacOS
  • Windows

Installation

You must have Python 3.5+. Flexx has a known issue with Python 3.9 however.

$ pip install -r requirements.txt

Running flexx_gamepad

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.