diff options
| author | faiface <faiface2202@gmail.com> | 2019-05-04 15:37:30 +0200 |
|---|---|---|
| committer | faiface <faiface2202@gmail.com> | 2019-05-04 15:37:30 +0200 |
| commit | 6787d9585c16f8f0f4261fd7c291cd013a2ff78e (patch) | |
| tree | 66ec9e677f0a0a49b0c7b978bb15a4ef52426222 /event.go | |
| parent | 6596439ad7d3cbbc2c27379c6f40cdda2808ffa3 (diff) | |
| download | gui-6787d9585c16f8f0f4261fd7c291cd013a2ff78e.zip | |
remove key constants, represent keys as strings
Diffstat (limited to 'event.go')
| -rw-r--r-- | event.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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) |