From 6787d9585c16f8f0f4261fd7c291cd013a2ff78e Mon Sep 17 00:00:00 2001 From: faiface Date: Sat, 4 May 2019 15:37:30 +0200 Subject: remove key constants, represent keys as strings --- event.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'event.go') 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) -- cgit v1.2.3