Open takuyahara opened 4 years ago
I don't think arrow keys are supported because they don't work for me. Try using this code and pressing arrow keys to see if they respond:
package main
import (
"fmt"
hook "github.com/robotn/gohook"
)
func main() {
fmt.Println("Press any key")
hook.Register(hook.KeyDown, []string{}, func(e hook.Event) {
fmt.Println(e)
})
s := hook.Start()
<-hook.Process(s)
}
Only arrow down key doesn't respond.
Maybe try changing the keyboard if possible to see if it works.
As titled.
Rawcode: 125
is Arrow Down and the others are other arrows.