From 1af8cd51e34c156ed49d6780d8238ad230e10a5b Mon Sep 17 00:00:00 2001 From: lordwelch Date: Tue, 7 Nov 2017 00:25:55 -0700 Subject: [PATCH] Debug --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d49128b..c7622f3 100644 --- a/main.go +++ b/main.go @@ -136,7 +136,7 @@ func main() { changeKeymap(r, keys, args, hidg0, ¤tKeyMap) _, err = fmt.Sscanf(keys[args.ORDER[currentKeyMap]][string(r)].Modifier, "%b", flag) binary.LittleEndian.PutUint16(report[:], uint16(keys[args.ORDER[currentKeyMap]][string(r)].Decimal)) - fmt.Println("report: ", report) + fmt.Printf("report: % x\n", report) fmt.Println("decimal: ", keys[args.ORDER[currentKeyMap]][string(r)].Decimal) Press([8]byte{flag, 0, report[0], report[1], report[2], report[3], report[4], report[5]}, hidg0)