add support for mouse buttons and wheels

cc #268
This commit is contained in:
Gokcehan committed 2021-01-19 01:20:34 +03:00
1 parent af988284a4
commit a13c14fb07
5 files changed
+98

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ func run() {
} else if err = screen.Init(); err != nil {
log.Fatalf("initializing screen: %s", err)
}
screen.EnableMouse()
f, err := os.Create(gLogPath)
if err != nil {