/inputs

Cross-platform Python support for keyboards, mice and gamepads

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Inputs

https://raw.githubusercontent.com/zeth/inputs/master/devices.png

Inputs aims to provide cross-platform Python support for keyboards, mice and gamepads.

Install

Install through pypi:

pip install inputs

Or download the whole repository from github:

git clone https://github.com/zeth/inputs.git
cd inputs
python setup.py install

About

The inputs module provides an easy way for your Python program to listen for user input.

Currently supported platforms are Linux (including the Raspberry Pi and Chromebooks in developer mode), Windows and the Apple Mac.

Python versions supported are all versions of Python 3 and your granddad's Python 2.7.

To get started quickly, just use the following:

from inputs import devices

For more information, read the documentation at ReadTheDocs

(Also available in the docs directory of the repository)

To get involved with inputs, please visit the github project at:

https://github.com/zeth/inputs