Skip to content

Commit 757ee33

Browse files
Revised README
1 parent d5987d0 commit 757ee33

1 file changed

Lines changed: 51 additions & 19 deletions

File tree

README

Lines changed: 51 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
Python-uinput
2-
=============
1+
=====================
2+
Python-uinput 0.6.2
3+
=====================
34

45
Uinput is a Linux kernel module which allows attaching user-space
56
device drivers into the Linux kernel. Python-uinput provides a
67
pythonic API to the Linux uinput-system.
78

8-
Usage example
9-
-------------
9+
Author: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@tjjr.fi>
10+
Homepage: <http://tjjr.fi/sw/python-uinput/>
1011

11-
Create and use a new uinput device with key-capabilities:
12+
How to use
13+
==========
14+
15+
Create an input device with key-capabilities and use it to type a greeting:
1216

1317
import uinput
1418

@@ -27,20 +31,48 @@ Create and use a new uinput device with key-capabilities:
2731
device.emit(uinput.KEY_O, 1)
2832
device.emit(uinput.KEY_O, 0)
2933

30-
General information
31-
-------------------
34+
How to install
35+
==============
36+
37+
Python-uinput uses libudev and therefore requires libudev development
38+
files, more specifically libudev.h, to get compiled. On Debian and its
39+
derivatives, the header file is packaged in libudev-dev.
40+
41+
After satisfying dependencies described above, the basic installation
42+
is easy. Just run the following command:
43+
44+
python setup.py install --prefix=/usr/local
45+
46+
How to report bugs
47+
==================
48+
49+
The bug database is hosted in Launchpad. If you have found a bug or
50+
have an improvement idea you want to share, please report it at
51+
<https://bugs.launchpad.net/python-uinput>. However, to avoid
52+
duplicate bug reports, before reporting, please check if similiar or
53+
identical bug has already been reported. If the description of the
54+
existing bug report If so, you can still subscribe to the existing bug
55+
to track its progress.
56+
57+
If you are unsure whether the problem you have is due to a bug, you
58+
can ask questions at <https://answers.launchpad.net/python-uinput>.
59+
60+
How to contribute
61+
=================
3262

33-
- Version: 0.6.2
34-
- License: GPLv3+ (see COPYING for details)
35-
- Author: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@tjjr.fi>
36-
- Homepage: <http://tjjr.fi/software/python-uinput/>
37-
- Code: <https://code.launchpad.net/python-uinput/>
38-
- Bugs: <https://bugs.launchpad.net/python-uinput/>
63+
In addition to reporting bugs and improvement suggestions, you are
64+
encouraged to contribute bug-fixes or features. Source code is
65+
maintained in Git VCS. The main repository is hosted in GitHub,
66+
<https://github.com/tuomasjjrasanen/python-uinput/> and mirrored in
67+
Launchpad as a Bazaar repository. The preferred way to contibute code
68+
is to clone the main Git repository and send a pull-request. Good old
69+
patches via email are also accepted.
3970

40-
Requirements
41-
------------
71+
How to copy
72+
===========
4273

43-
- libudev0
44-
- libudev-dev
45-
- uinput.ko
46-
- rw-permissions to uinput device node
74+
Python-uinput is free (libre) software and licensed under the terms of
75+
GNU Public License version 3 or later. In short, it means that you are
76+
free to copy, modify and redistribute this software as long as you
77+
place the derivative work under a compatible license. See COPYING for
78+
details.

0 commit comments

Comments
 (0)