summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortim <tim@capstone09.cs.pdx.edu>2011-02-08 18:48:51 -0800
committertim <tim@capstone09.cs.pdx.edu>2011-02-08 18:48:51 -0800
commite79d7d9075316e964a6cb5cbc212865213f07d7f (patch)
tree9a0d3aa5a8d75eda85ef85aebc2b14a581b68d94
parent598794c4de2c00e952a44f840976d61e41f5e46b (diff)
added button and key press and release logging
-rw-r--r--src/xlibclient.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xlibclient.c b/src/xlibclient.c
index 9a15a6b..08c8034 100644
--- a/src/xlibclient.c
+++ b/src/xlibclient.c
@@ -299,7 +299,6 @@ NestedClientTimerCallback(NestedClientPrivatePtr pPriv) {
}
if (ev.type == ButtonPress) {
- //xf86DrvMsg(pPriv->scrnIndex, X_INFO, "Button Pressed!");//ev.xkey.keycode);
switch (ev.xbutton.button)
{
case Button1: xf86DrvMsg(pPriv->scrnIndex, X_INFO, "Left Mouse Button Pressed\n");
@@ -315,8 +314,7 @@ NestedClientTimerCallback(NestedClientPrivatePtr pPriv) {
}
if (ev.type == ButtonRelease) {
- //xf86DrvMsg(pPriv->scrnIndex, X_INFO, "Button Released!\n");//ev.xkey.keycode);
- switch (ev.xbutton.button)
+ switch (ev.xbutton.button)
{
case Button1: xf86DrvMsg(pPriv->scrnIndex, X_INFO, "Left Mouse Button Released\n");
break;