From 0d2c476db9e75fecfdd5213bcc3fa603005aed21 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Mon, 6 Nov 2017 22:22:44 -0700 Subject: [PATCH] Debug --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index fbcd90e..b1aad8b 100644 --- a/main.go +++ b/main.go @@ -49,6 +49,7 @@ func Hold(press [8]byte, file io.Writer) { func changeKeymap(r rune, keys map[string]Keys, args Args, hidg0 *os.File, currentKeyMap *int) { fmt.Println(*currentKeyMap) + fmt.Println(args) for keys[args.ORDER[(*currentKeyMap)]][r].name != r { Press([8]byte{LCTRL, 0x00, 0x57, 0x00, 0x00, 0x00, 0x00, 0x00}, hidg0) *currentKeyMap++