Skip to main content

Detect gamepads and show reads its state on Linux

Project description

This is a Python script that detects gamepads and show their state on Linux.

Dependencies

  • python3

  • urwid

  • pyudev

  • evdev

  • sdl2

Dependencies can be installed on Ubuntu manually:

$ sudo apt-get install python-urwid python-pyudev python-evdev python-sdl2

If gamepadinfo is being installed via pip then dependencies will be installed automatically.

Installing and Running

From source repository

Installing and running from source code repository goes as follows:

$ git clone https://github.com/godfryd/gamepadinfo
$ cd gamepadinfo/
$ ./gamepadinfo.py

Via pip

Installing and running using pip goes as follows:

$ pip install gamepadinfo
$ gamepadinfo

Screenshot

Screenshot

Screenshot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gamepadinfo-0.8.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

gamepadinfo-0.8-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page