aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorfaiface <faiface2202@gmail.com>2019-05-05 14:57:27 +0200
committerfaiface <faiface2202@gmail.com>2019-05-05 14:57:27 +0200
commit3067ff523f639bb42daf8a3d699d071b1470ac77 (patch)
tree3c64cb2dc10ffa2323b66237d4a56939e565d42c /win
parent28ed6e1f0e22506b88f6d012a640131560f25d6f (diff)
downloadgui-3067ff523f639bb42daf8a3d699d071b1470ac77.zip
Win: make docs on key strings more readable
Diffstat (limited to 'win')
-rw-r--r--win/win.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/win/win.go b/win/win.go
index ba97cd0..af0f4e8 100644
--- a/win/win.go
+++ b/win/win.go
@@ -125,12 +125,12 @@ func makeGLFWWin(o *options) (*glfw.Window, error) {
// kb/repeat/<key> A key on the keyboard repeated (happens when held).
//
// <w>, <h>, <x>, <y>, and <code> are numbers (%d).
-// <button> is one of (without quotes):
-// "left", "right", "middle"
-// <key> is one of (without quotes):
-// "left", "right", "up", "down", "escape", "space", "backspace", "delete", "enter",
-// "tab", "home", "end", "pageup", "pagedown", "shift", "shift", "ctrl", "ctrl", "alt",
-// "alt"
+// <button> is one of:
+// left right middle
+// <key> is one of:
+// left right up down escape space backspace delete enter
+// tab home end pageup pagedown shift shift ctrl ctrl alt
+// alt
type Win struct {
eventsOut <-chan gui.Event
eventsIn chan<- gui.Event