summaryrefslogtreecommitdiffstatshomepage
path: root/xkbcat.c
diff options
context:
space:
mode:
authorGravatar Antti K2014-07-29 21:05:00 +0200
committerGravatar Antti K2014-07-30 01:11:08 +0200
commitdb7f06bf1be93dbfe43ef928b2310a7a4311072e (patch)
treed48e2ba9c915d129758c8be1a71fc9cece36c12e /xkbcat.c
parent23825cc80443d321f116cc036afd031d6bf3f323 (diff)
downloadxkbcat-db7f06bf1be93dbfe43ef928b2310a7a4311072e.tar.gz
xkbcat-db7f06bf1be93dbfe43ef928b2310a7a4311072e.zip
Document origin and inspiration in a separate file
This keeps source separate from history.
Diffstat (limited to 'xkbcat.c')
-rw-r--r--xkbcat.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/xkbcat.c b/xkbcat.c
index 6fa7cd6..32c427e 100644
--- a/xkbcat.c
+++ b/xkbcat.c
@@ -1,16 +1,8 @@
/*
xkbcat
- Monitors key presses globally across X11.
-
- A rather simplified version of
- `xspy` by Jon A. Maxwell (JAM) <jmaxwell@acm.vt.edu>
- as modified for easier physical key monitoring by Antti Korpi <an@cyan.io>.
- */
+ ------
-/*
- xspy polls the keyboard to determine the state of all keys on
- the keyboard. By comparing results it determines which key has
- been pressed. In this way it echos to the user all physical keys typed.
+ Monitors key presses globally across X11.
*/
#include <X11/Xlib.h>