Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandInputDispatchKeyEvent + const CommandInputDispatchMouseEvent + const CommandInputDispatchTouchEvent + const CommandInputEmulateTouchFromMouseEvent + const CommandInputInsertText + const CommandInputSetIgnoreInputEvents + const CommandInputSynthesizePinchGesture + const CommandInputSynthesizeScrollGesture + const CommandInputSynthesizeTapGesture + type DispatchKeyEventArgs struct + AutoRepeat bool + Code string + IsKeypad bool + IsSystemKey bool + Key string + KeyIdentifier string + Location int + Modifiers int + NativeVirtualKeyCode int + Text string + Timestamp *shared.TimeSinceEpoch + Type string + UnmodifiedText string + WindowsVirtualKeyCode int + func (a *DispatchKeyEventArgs) MarshalJSON() ([]byte, error) + func (a *DispatchKeyEventArgs) UnmarshalJSON(b []byte) error + type DispatchKeyEventReply struct + func (a *DispatchKeyEventReply) GetFrameID() string + func (a *DispatchKeyEventReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DispatchKeyEventReply) UnmarshalJSON(b []byte) error + type DispatchMouseEventArgs struct + Button *MouseButton + Buttons int + ClickCount int + DeltaX float64 + DeltaY float64 + Modifiers int + PointerType string + Timestamp *shared.TimeSinceEpoch + Type string + X float64 + Y float64 + func (a *DispatchMouseEventArgs) MarshalJSON() ([]byte, error) + func (a *DispatchMouseEventArgs) UnmarshalJSON(b []byte) error + type DispatchMouseEventReply struct + func (a *DispatchMouseEventReply) GetFrameID() string + func (a *DispatchMouseEventReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DispatchMouseEventReply) UnmarshalJSON(b []byte) error + type DispatchTouchEventArgs struct + Modifiers int + Timestamp *shared.TimeSinceEpoch + TouchPoints []TouchPoint + Type string + func (a *DispatchTouchEventArgs) MarshalJSON() ([]byte, error) + func (a *DispatchTouchEventArgs) UnmarshalJSON(b []byte) error + type DispatchTouchEventReply struct + func (a *DispatchTouchEventReply) GetFrameID() string + func (a *DispatchTouchEventReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DispatchTouchEventReply) UnmarshalJSON(b []byte) error + type EmulateTouchFromMouseEventArgs struct + Button MouseButton + ClickCount int + DeltaX float64 + DeltaY float64 + Modifiers int + Timestamp *shared.TimeSinceEpoch + Type string + X int + Y int + func (a *EmulateTouchFromMouseEventArgs) MarshalJSON() ([]byte, error) + func (a *EmulateTouchFromMouseEventArgs) UnmarshalJSON(b []byte) error + type EmulateTouchFromMouseEventReply struct + func (a *EmulateTouchFromMouseEventReply) GetFrameID() string + func (a *EmulateTouchFromMouseEventReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EmulateTouchFromMouseEventReply) UnmarshalJSON(b []byte) error + type GestureSourceType string + const GestureSourceTypeDefault + const GestureSourceTypeMouse + const GestureSourceTypeNotSet + const GestureSourceTypeTouch + func (e GestureSourceType) String() string + func (e GestureSourceType) Valid() bool + type InsertTextArgs struct + Text string + func (a *InsertTextArgs) MarshalJSON() ([]byte, error) + func (a *InsertTextArgs) UnmarshalJSON(b []byte) error + type InsertTextReply struct + func (a *InsertTextReply) GetFrameID() string + func (a *InsertTextReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *InsertTextReply) UnmarshalJSON(b []byte) error + type MouseButton string + const MouseButtonBack + const MouseButtonForward + const MouseButtonLeft + const MouseButtonMiddle + const MouseButtonNone + const MouseButtonNotSet + const MouseButtonRight + func (e MouseButton) String() string + func (e MouseButton) Valid() bool + type SetIgnoreInputEventsArgs struct + Ignore bool + func (a *SetIgnoreInputEventsArgs) MarshalJSON() ([]byte, error) + func (a *SetIgnoreInputEventsArgs) UnmarshalJSON(b []byte) error + type SetIgnoreInputEventsReply struct + func (a *SetIgnoreInputEventsReply) GetFrameID() string + func (a *SetIgnoreInputEventsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetIgnoreInputEventsReply) UnmarshalJSON(b []byte) error + type SynthesizePinchGestureArgs struct + GestureSourceType *GestureSourceType + RelativeSpeed int + ScaleFactor float64 + X float64 + Y float64 + func (a *SynthesizePinchGestureArgs) MarshalJSON() ([]byte, error) + func (a *SynthesizePinchGestureArgs) UnmarshalJSON(b []byte) error + type SynthesizePinchGestureReply struct + func (a *SynthesizePinchGestureReply) GetFrameID() string + func (a *SynthesizePinchGestureReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SynthesizePinchGestureReply) UnmarshalJSON(b []byte) error + type SynthesizeScrollGestureArgs struct + GestureSourceType *GestureSourceType + InteractionMarkerName string + PreventFling bool + RepeatCount int + RepeatDelayMs int + Speed int + X float64 + XDistance float64 + XOverscroll float64 + Y float64 + YDistance float64 + YOverscroll float64 + func (a *SynthesizeScrollGestureArgs) MarshalJSON() ([]byte, error) + func (a *SynthesizeScrollGestureArgs) UnmarshalJSON(b []byte) error + type SynthesizeScrollGestureReply struct + func (a *SynthesizeScrollGestureReply) GetFrameID() string + func (a *SynthesizeScrollGestureReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SynthesizeScrollGestureReply) UnmarshalJSON(b []byte) error + type SynthesizeTapGestureArgs struct + Duration int + GestureSourceType *GestureSourceType + TapCount int + X float64 + Y float64 + func (a *SynthesizeTapGestureArgs) MarshalJSON() ([]byte, error) + func (a *SynthesizeTapGestureArgs) UnmarshalJSON(b []byte) error + type SynthesizeTapGestureReply struct + func (a *SynthesizeTapGestureReply) GetFrameID() string + func (a *SynthesizeTapGestureReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SynthesizeTapGestureReply) UnmarshalJSON(b []byte) error + type TouchPoint struct + Force float64 + ID float64 + RadiusX float64 + RadiusY float64 + RotationAngle float64 + X float64 + Y float64