Skip to content
Cross-platform Python support for keyboards, mice and gamepads
Branch: master
Clone or download



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
cd inputs
python 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:
You can’t perform that action at this time.