aboutsummaryrefslogtreecommitdiffstats
path: root/event.go
diff options
context:
space:
mode:
authorfaiface <faiface2202@gmail.com>2019-05-04 15:37:30 +0200
committerfaiface <faiface2202@gmail.com>2019-05-04 15:37:30 +0200
commit6787d9585c16f8f0f4261fd7c291cd013a2ff78e (patch)
tree66ec9e677f0a0a49b0c7b978bb15a4ef52426222 /event.go
parent6596439ad7d3cbbc2c27379c6f40cdda2808ffa3 (diff)
downloadgui-6787d9585c16f8f0f4261fd7c291cd013a2ff78e.zip
remove key constants, represent keys as strings
Diffstat (limited to 'event.go')
-rw-r--r--event.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/event.go b/event.go
index d520849..f673f34 100644
--- a/event.go
+++ b/event.go
@@ -23,9 +23,6 @@ import "fmt"
// // window closed
// case event.Matches("mo/move/%d/%d", &x, &y):
// // mouse moved to (x, y)
-// case event.Matches("mo/down/%d/%d", &x, &y):
-// // mouse pressed on (x, y)
-// case event.Matches("mo/up/%d/%d", &x, &y):
// // mouse released on (x, y)
// case event.Matches("kb/type/%d", &r):
// // rune r typed on the keyboard (encoded as a number in the event string)