From ac51c846ac47f0af1dca708eed2879b267c0a391 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Thu, 26 Oct 2017 18:07:28 -0600 Subject: [PATCH] test program --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index ed0bdc2..0c68a35 100644 --- a/main.go +++ b/main.go @@ -30,9 +30,9 @@ func main() { RALT, RSUPER) fmt.Println() - fmt.Printf("%08b\n", test[0]) + fmt.Printf("%08b\n", test[:]) test[0] |= LCTRL - fmt.Printf("%08b\n", test[0]) + fmt.Printf("%08b\n", test[:]) file, err := os.OpenFile("/dev/hidg0", os.O_WRONLY, os.ModePerm) file2, err2 := os.OpenFile("test", os.O_WRONLY|os.O_CREATE, os.ModePerm) fmt.Println(err)