test program
This commit is contained in:
parent
ac51c846ac
commit
25b570ad10
6
main.go
6
main.go
@ -30,9 +30,9 @@ func main() {
|
|||||||
RALT,
|
RALT,
|
||||||
RSUPER)
|
RSUPER)
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Printf("%08b\n", test[:])
|
fmt.Printf("%08b\n", test[0])
|
||||||
test[0] |= LCTRL
|
//test[0] |= LCTRL
|
||||||
fmt.Printf("%08b\n", test[:])
|
fmt.Printf("%08b\n", test[0])
|
||||||
file, err := os.OpenFile("/dev/hidg0", os.O_WRONLY, os.ModePerm)
|
file, err := os.OpenFile("/dev/hidg0", os.O_WRONLY, os.ModePerm)
|
||||||
file2, err2 := os.OpenFile("test", os.O_WRONLY|os.O_CREATE, os.ModePerm)
|
file2, err2 := os.OpenFile("test", os.O_WRONLY|os.O_CREATE, os.ModePerm)
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user