diff options
| author | faiface <faiface2202@gmail.com> | 2019-05-05 14:57:27 +0200 |
|---|---|---|
| committer | faiface <faiface2202@gmail.com> | 2019-05-05 14:57:27 +0200 |
| commit | 3067ff523f639bb42daf8a3d699d071b1470ac77 (patch) | |
| tree | 3c64cb2dc10ffa2323b66237d4a56939e565d42c | |
| parent | 28ed6e1f0e22506b88f6d012a640131560f25d6f (diff) | |
| download | gui-3067ff523f639bb42daf8a3d699d071b1470ac77.zip | |
Win: make docs on key strings more readable
| -rw-r--r-- | win/win.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |