Versions in this module Expand all Collapse all v0 v0.1.1 Aug 18, 2022 v0.1.0 Aug 3, 2022 Changes in this version + type ButtonState uint8 + const ButtonStatePressed + const ButtonStateReleased + func (v ButtonState) String() string + type ModifiersState uint8 + const ModifiersStateAlt + const ModifiersStateCtrl + const ModifiersStateLogo + const ModifiersStateShift + func (v ModifiersState) String() (s string) + type MouseButton uint32 + const MouseButtonLeft + const MouseButtonMiddle + const MouseButtonRight + func (v MouseButton) String() string + type MouseScrollAxis uint8 + const MouseScrollAxisHorizontal + const MouseScrollAxisVertical + func (v MouseScrollAxis) String() string + type MouseScrollDelta uint8 + const MouseScrollDeltaLine + const MouseScrollDeltaPixel + func (v MouseScrollDelta) String() string + type ScanCode uint32 + type TouchPhase uint32 + const TouchPhaseCancelled + const TouchPhaseEnded + const TouchPhaseMoved + const TouchPhaseStarted + func (v TouchPhase) String() string + type TouchPointerID uint8 + type VirtualKey uint32 + const VirtualKey0 + const VirtualKey1 + const VirtualKey2 + const VirtualKey3 + const VirtualKey4 + const VirtualKey5 + const VirtualKey6 + const VirtualKey7 + const VirtualKey8 + const VirtualKey9 + const VirtualKeyA + const VirtualKeyAccept + const VirtualKeyAdd + const VirtualKeyAltgr + const VirtualKeyB + const VirtualKeyBackQuote + const VirtualKeyBackSlash + const VirtualKeyBackSpace + const VirtualKeyC + const VirtualKeyCancel + const VirtualKeyCapsLock + const VirtualKeyClear + const VirtualKeyCloseBracket + const VirtualKeyComma + const VirtualKeyContextMenu + const VirtualKeyConvert + const VirtualKeyD + const VirtualKeyDecimal + const VirtualKeyDelete + const VirtualKeyDivide + const VirtualKeyDown + const VirtualKeyE + const VirtualKeyEnd + const VirtualKeyEquals + const VirtualKeyEscape + const VirtualKeyExecute + const VirtualKeyF + const VirtualKeyF1 + const VirtualKeyF10 + const VirtualKeyF11 + const VirtualKeyF12 + const VirtualKeyF13 + const VirtualKeyF14 + const VirtualKeyF15 + const VirtualKeyF16 + const VirtualKeyF17 + const VirtualKeyF18 + const VirtualKeyF19 + const VirtualKeyF2 + const VirtualKeyF20 + const VirtualKeyF21 + const VirtualKeyF22 + const VirtualKeyF23 + const VirtualKeyF24 + const VirtualKeyF3 + const VirtualKeyF4 + const VirtualKeyF5 + const VirtualKeyF6 + const VirtualKeyF7 + const VirtualKeyF8 + const VirtualKeyF9 + const VirtualKeyFinal + const VirtualKeyG + const VirtualKeyH + const VirtualKeyHelp + const VirtualKeyHome + const VirtualKeyHyphenMinus + const VirtualKeyI + const VirtualKeyInsert + const VirtualKeyJ + const VirtualKeyJunja + const VirtualKeyK + const VirtualKeyKana + const VirtualKeyKanji + const VirtualKeyL + const VirtualKeyLAlt + const VirtualKeyLControl + const VirtualKeyLShift + const VirtualKeyLWin + const VirtualKeyLeft + const VirtualKeyM + const VirtualKeyModechange + const VirtualKeyMultiply + const VirtualKeyN + const VirtualKeyNonconvert + const VirtualKeyNumLock + const VirtualKeyNumpad0 + const VirtualKeyNumpad1 + const VirtualKeyNumpad2 + const VirtualKeyNumpad3 + const VirtualKeyNumpad4 + const VirtualKeyNumpad5 + const VirtualKeyNumpad6 + const VirtualKeyNumpad7 + const VirtualKeyNumpad8 + const VirtualKeyNumpad9 + const VirtualKeyO + const VirtualKeyOpenBracket + const VirtualKeyP + const VirtualKeyPageDown + const VirtualKeyPageUp + const VirtualKeyPause + const VirtualKeyPeriod + const VirtualKeyPrint + const VirtualKeyQ + const VirtualKeyQuote + const VirtualKeyR + const VirtualKeyRAlt + const VirtualKeyRControl + const VirtualKeyRShift + const VirtualKeyRWin + const VirtualKeyReturn + const VirtualKeyRight + const VirtualKeyS + const VirtualKeyScrollLock + const VirtualKeySelect + const VirtualKeySemicolon + const VirtualKeySlash + const VirtualKeySleep + const VirtualKeySpace + const VirtualKeySubtract + const VirtualKeyT + const VirtualKeyTab + const VirtualKeyU + const VirtualKeyUp + const VirtualKeyV + const VirtualKeyVolumeDown + const VirtualKeyVolumeMute + const VirtualKeyVolumeUp + const VirtualKeyW + const VirtualKeyX + const VirtualKeyY + const VirtualKeyZ + func (v VirtualKey) String() string + type WindowCloseRequestedCallback func() + type WindowCursorEnteredCallback func() + type WindowCursorLeftCallback func() + type WindowCursorMovedCallback func(physicalX, physicalY float64) + type WindowFocusedCallback func() + type WindowKeyboardInputCallback func(state ButtonState, scanCode ScanCode, virtualKeyCode VirtualKey) + type WindowModifiersChangedCallback func(state ModifiersState) + type WindowMouseInputCallback func(state ButtonState, button MouseButton) + type WindowMouseScrollCallback func(delta MouseScrollDelta, axis MouseScrollAxis, value float64) + type WindowReceivedCharacterCallback func(char rune) + type WindowResizedCallback func(physicalWidth, physicalHeight uint32, scaleFactor float64) + type WindowSurfaceCreatedCallback func() + type WindowSurfaceDestroyedCallback func() + type WindowTouchInputCallback func(phase TouchPhase, location dpi.PhysicalPosition[float64], id TouchPointerID) + type WindowUnfocusedCallback func()