Skip to main content

Detect gamepads and show reads its state on Linux

Project description

https://api.travis-ci.org/godfryd/gamepadinfo.svg?branch=master http://img.shields.io/pypi/v/gamepadinfo.svg http://img.shields.io/pypi/dm/gamepadinfo.svg http://img.shields.io/pypi/l/gamepadinfo.svg http://img.shields.io/pypi/pyversions/gamepadinfo.svg

gamepadinfo

This is a Python script that detects gamepads and shows 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

Let’s install and run.

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

Video & Screenshot

Short video presentation:

https://asciinema.org/a/5b5h1d850xk8wflv7v9db9qgb

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.9.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

gamepadinfo-0.9.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file gamepadinfo-0.9.1.tar.gz.

File metadata

  • Download URL: gamepadinfo-0.9.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gamepadinfo-0.9.1.tar.gz
Algorithm Hash digest
SHA256 3530815cfa61c806cdc42f58b37b513228ecd4d0ef7a2b06387985f93b0eb8a7
MD5 95c2b55e7a582bcb7010f77d14463db8
BLAKE2b-256 708d84a65329784f839fbb47157ba1f97d25ad711e3cff1352ac70fac5dba163

See more details on using hashes here.

File details

Details for the file gamepadinfo-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gamepadinfo-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 930dfe112a7e65364b6b1f3b4be4ac5493ea082897a60c28647e28ed30d6bd88
MD5 c3b2b3f0329ce39bfeefe374e6259525
BLAKE2b-256 3fa9c8d47d6428e78f153ceee7b13ac4f4ca5d208fee1a0b63dd0fc03d8607d8

See more details on using hashes here.

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