Output is something like:
... Key map 97 ('a') [press,release]

Signed-off-by: Peter Hutterer <[email protected]>
---
 tools/xsetwacom.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index d865fc5..69674ef 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -1179,6 +1179,12 @@ static int special_map_keystrokes(int argc, char **argv, 
unsigned long *ndata, u
                        data[*ndata + nitems++] = AC_KEY | AC_KEYBTNPRESS | ks;
                if (need_release)
                        data[*ndata + nitems++] = AC_KEY | ks;
+
+               TRACE("Key map %ld ('%s') [%s,%s]\n", ks,
+                               XKeysymToString(ks),
+                               need_press ?  "press" : "",
+                               need_release ?  "release" : "");
+
        }
 
        *ndata += nitems;
-- 
1.6.6.1


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to