From 120ec0b2468d86408bc3b81d4bbfc6bc3e5afa02 Mon Sep 17 00:00:00 2001 From: girst Date: Fri, 12 Feb 2016 18:38:24 +0100 Subject: [PATCH] removed printf-debugging --- main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.c b/main.c index 46d3bc8..e4f34c8 100644 --- a/main.c +++ b/main.c @@ -86,7 +86,7 @@ fclose (hid_dev); } } else { //key does not exist in this layout, use unicode method - fprintf (stderr, "Warning: Key '%s'(0x%x) not in this layout!\n", s->sym, s->unicode); + //fprintf (stderr, "Warning: Key '%s'(0x%x) not in this layout!\n", s->sym, s->unicode); send_unicode (hid_dev, s->unicode, atoi (argv[P_UNI]), atoi(argv[P_LAY])); } } @@ -123,7 +123,6 @@ enum errors send_unicode (FILE* hid_dev, unsigned int unicode, enum uni_m method break; case GTK_HOLD: sprintf (buf, "%x", unicode); - fprintf (stderr, "attempting to send: %s", buf); s = toscan ("u"); l = tolay (s, layout); send_key (hid_dev, l->key, MOD_LCTRL | MOD_LSHIFT); @@ -136,7 +135,6 @@ enum errors send_unicode (FILE* hid_dev, unsigned int unicode, enum uni_m method break; case GTK_SPACE: sprintf (buf, "%x ", unicode); - fprintf (stderr, "attempting to send: %s", buf); s = toscan ("u"); l = tolay (s, layout); send_key (hid_dev, l->key, MOD_LCTRL | MOD_LSHIFT); -- 2.39.3