PyDever / python-keyboard-drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Keyboard Drivers

In this repository I have a working Linux keyboard-driver written in 100% pure Python 2.7. It replaces the current kernel driver and should work on all Linux systems.

WARNING: While this driver acts as a stand-alone replacement, it is not reccomended to delte your kernel's drivers! They are still being used by other applications.

Rolling your own build

First you must ensure that git is installed on your system.

$ sudo apt-get update && sudo apt-get install git

Second, you must download the source tarball.

$ git clone https://github.com/PyDever/python-keyboard-drivers

If the first step did not work for some reason, use curl to download the source tarball from GitHub.

$ curl -X GET https://github.com/PyDever/python-keyboard-drivers

Once you have a copy of the source un-compressed, and are in the source directory, go ahead and run this command to roll a build.

$ make build

The build folder contains your fresh fully-compiled build of my driver.

Using the keyboard driver properly

To use this simple device driver, you must first run the following command in the source directory.

$ make install

Awesome! Now you can use the device driver located at:

/python-keyboard-drivers/src/bin/

The name of the file is driver.py.

About

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 93.5%Language:Makefile 6.5%