From 0bbf455bc73e7b4e0310780cbb90f462bbcc9e63 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Fri, 26 Feb 2021 13:11:19 -0800 Subject: [PATCH] Remove logging --- ghid/keyboard.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghid/keyboard.go b/ghid/keyboard.go index fe156df..bbfba6b 100644 --- a/ghid/keyboard.go +++ b/ghid/keyboard.go @@ -159,7 +159,6 @@ func (k *Keyboard) Write(p []byte) (int, error) { } // Add the modifier of the current key eg 'D' adds shift 'd' does not flag |= mod - fmt.Printf("this press is modified %d %v\n", flag, cur) } // Check for duplicate key press. You can't press a key if it is already pressed, unless it is 0 indicating a modifier. @@ -176,7 +175,6 @@ func (k *Keyboard) Write(p []byte) (int, error) { if report[i] != 0 { break press } - fmt.Printf("this press is a modifier %v\n", cur) } } report[0] = flag