• Stars
    star
    266
  • Rank 154,103 (Top 4 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cross-platform Python support for keyboards, mice and gamepads

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