[gnome-settings-daemon] wacom: Add better key generation debug output



commit 44558060cf39e5240917c7ca0c0a42c617a93e1f
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 29 15:30:26 2012 +0000

    wacom: Add better key generation debug output

 plugins/wacom/gsd-wacom-manager.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index 9401682..3a4cd95 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -786,7 +786,9 @@ generate_key (GsdWacomTabletButton *wbutton,
 		g_free (str);
 		return;
 	}
-	g_debug ("Emitting '%s'", str);
+
+	g_debug ("Emitting '%s' (keyval: %d, keycodes[0]: %d mods: 0x%x)",
+		 str, keyval, keycodes[0], mods);
 	g_free (str);
 
 	/* And send out the keys! */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]