Versions in this module Expand all Collapse all v1 v1.1.0 Jan 25, 2015 Changes in this version + func CursorPosition() (x, y int) + func DoEvents() + func IsClosed() bool + func IsKeyPressed(key Key) bool + func IsMouseButtonPressed(button MouseButton) bool + func Start(width, height, scale int, title string) (actualScale int, err error) + func SwapBuffers() + func Terminate() + func Use(f func(*opengl.Context)) + type Key int + const Key0 + const Key1 + const Key2 + const Key3 + const Key4 + const Key5 + const Key6 + const Key7 + const Key8 + const Key9 + const KeyA + const KeyAlt + const KeyB + const KeyBackspace + const KeyC + const KeyCapsLock + const KeyComma + const KeyControl + const KeyD + const KeyDelete + const KeyDown + const KeyE + const KeyEnd + const KeyEnter + const KeyEscape + const KeyF + const KeyF1 + const KeyF10 + const KeyF11 + const KeyF12 + const KeyF2 + const KeyF3 + const KeyF4 + const KeyF5 + const KeyF6 + const KeyF7 + const KeyF8 + const KeyF9 + const KeyG + const KeyH + const KeyHome + const KeyI + const KeyInsert + const KeyJ + const KeyK + const KeyL + const KeyLeft + const KeyM + const KeyN + const KeyO + const KeyP + const KeyPageDown + const KeyPageUp + const KeyPeriod + const KeyQ + const KeyR + const KeyRight + const KeyS + const KeyShift + const KeySpace + const KeyT + const KeyTab + const KeyU + const KeyUp + const KeyV + const KeyW + const KeyX + const KeyY + const KeyZ + type MouseButton int + const MouseButtonLeft + const MouseButtonMiddle + const MouseButtonRight v1.1.0-rc1 Jan 9, 2015