Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
gamepadinfo-0.9.1-py3-none-any.whl (9.8 kB) Copy SHA256 hash SHA256 Wheel py3 Dec 25, 2016
gamepadinfo-0.9.1.tar.gz (8.5 kB) Copy SHA256 hash SHA256 Source None Dec 25, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page