Commit d6ef91a5 authored by Derrick Sobodash's avatar Derrick Sobodash

Added a proper header to the source.

parent c11217e0
Copyright (c) 2011, Derrick Sobodash
Copyright (c) 2012 Derrick Sobodash
All rights reserved.
......
pykeycombo
==========
pyKeyCombo
=========
Allows combinations of keys to send a single fake keypress event to X.
pykeycombo is under the BSD license. The supplied pyxhook.py is by Tim Alexander and licensed under the GPLv2.
pykeycombo is under the BSD license.
The supplied pyxhook.py is by Tim Alexander and licensed under the GPLv2.
#!/usr/bin/env python
'''
pyKeyCombo
This tool watches keypresses. When a recognized combination of keys is caught,
it will send a fake keypress event to the X server.
It is most useful in conjunction with a joystick-to-keypress binder like the
very well-made QJoyPad. Using pyKeyCombo makes it possible to send macros, for
example mapping ENTER+SHIFT+CTRL+ALT (START+SELECT+A+B ont he gamepad) to send
the ESC key, making it easy to quit your current game on an HTPC.
Version: 1.0
Author: Derrick Sobodash <derrick@sobodash.com>
Copyright: (c) 2012 Derrick Sobodash
Web site: https://github.com/sobodash/pykeycombo/
License: BSD License <http://opensource.org/licenses/bsd-license.php>
'''
import Xlib.display
import Xlib.XK
import time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment