Cross-platform Python support for keyboards, mice and gamepads.
Inputs aims to provide cross-platform Python support for keyboards, mice and gamepads.
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
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:
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|
|inputs-0.5-py2.py3-none-any.whl (33.6 kB) Copy SHA256 hash SHA256||Wheel||2.7|
|inputs-0.5.tar.gz (33.4 kB) Copy SHA256 hash SHA256||Source||None|