Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- type InputDevices
- type MockInputDevices
- type MockInterfaceInputDevices
- func (v *MockInterfaceInputDevices) ConnectTouchscreenAdded(cb func(path dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceInputDevices) ConnectTouchscreenRemoved(cb func(path dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceInputDevices) Touchscreens() proxy.PropObjectPathArray
- type MockInterfaceTouchpad
- func (v *MockInterfaceTouchpad) Enable() proxy.PropBool
- func (v *MockInterfaceTouchpad) GoSetTouchpadEnable(flags dbus.Flags, ch chan *dbus.Call, enabled bool) *dbus.Call
- func (v *MockInterfaceTouchpad) IsExist() proxy.PropBool
- func (v *MockInterfaceTouchpad) SetTouchpadEnable(flags dbus.Flags, enabled bool) error
- type MockInterfaceTouchscreen
- func (v *MockInterfaceTouchscreen) BusType() proxy.PropString
- func (v *MockInterfaceTouchscreen) DevNode() proxy.PropString
- func (v *MockInterfaceTouchscreen) Height() proxy.PropDouble
- func (v *MockInterfaceTouchscreen) Name() proxy.PropString
- func (v *MockInterfaceTouchscreen) OutputName() proxy.PropString
- func (v *MockInterfaceTouchscreen) Phys() proxy.PropString
- func (v *MockInterfaceTouchscreen) Serial() proxy.PropString
- func (v *MockInterfaceTouchscreen) UUID() proxy.PropString
- func (v *MockInterfaceTouchscreen) Width() proxy.PropDouble
- type MockTouchpad
- type MockTouchscreen
- type Touchpad
- type Touchscreen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputDevices ¶
func NewInputDevices ¶
func NewInputDevices(conn *dbus.Conn) InputDevices
type MockInputDevices ¶
type MockInputDevices struct { MockInterfaceInputDevices // interface com.deepin.system.InputDevices proxy.MockObject }
type MockInterfaceInputDevices ¶
func (*MockInterfaceInputDevices) ConnectTouchscreenAdded ¶
func (v *MockInterfaceInputDevices) ConnectTouchscreenAdded(cb func(path dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceInputDevices) ConnectTouchscreenRemoved ¶
func (v *MockInterfaceInputDevices) ConnectTouchscreenRemoved(cb func(path dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceInputDevices) Touchscreens ¶
func (v *MockInterfaceInputDevices) Touchscreens() proxy.PropObjectPathArray
type MockInterfaceTouchpad ¶
func (*MockInterfaceTouchpad) Enable ¶
func (v *MockInterfaceTouchpad) Enable() proxy.PropBool
func (*MockInterfaceTouchpad) GoSetTouchpadEnable ¶
func (v *MockInterfaceTouchpad) GoSetTouchpadEnable(flags dbus.Flags, ch chan *dbus.Call, enabled bool) *dbus.Call
func (*MockInterfaceTouchpad) IsExist ¶
func (v *MockInterfaceTouchpad) IsExist() proxy.PropBool
func (*MockInterfaceTouchpad) SetTouchpadEnable ¶
func (v *MockInterfaceTouchpad) SetTouchpadEnable(flags dbus.Flags, enabled bool) error
type MockInterfaceTouchscreen ¶
func (*MockInterfaceTouchscreen) BusType ¶
func (v *MockInterfaceTouchscreen) BusType() proxy.PropString
func (*MockInterfaceTouchscreen) DevNode ¶
func (v *MockInterfaceTouchscreen) DevNode() proxy.PropString
func (*MockInterfaceTouchscreen) Height ¶
func (v *MockInterfaceTouchscreen) Height() proxy.PropDouble
func (*MockInterfaceTouchscreen) Name ¶
func (v *MockInterfaceTouchscreen) Name() proxy.PropString
func (*MockInterfaceTouchscreen) OutputName ¶
func (v *MockInterfaceTouchscreen) OutputName() proxy.PropString
func (*MockInterfaceTouchscreen) Phys ¶
func (v *MockInterfaceTouchscreen) Phys() proxy.PropString
func (*MockInterfaceTouchscreen) Serial ¶
func (v *MockInterfaceTouchscreen) Serial() proxy.PropString
func (*MockInterfaceTouchscreen) UUID ¶
func (v *MockInterfaceTouchscreen) UUID() proxy.PropString
func (*MockInterfaceTouchscreen) Width ¶
func (v *MockInterfaceTouchscreen) Width() proxy.PropDouble
type MockTouchpad ¶
type MockTouchpad struct { MockInterfaceTouchpad // interface com.deepin.system.InputDevices.Touchpad proxy.MockObject }
type MockTouchscreen ¶
type MockTouchscreen struct { MockInterfaceTouchscreen // interface com.deepin.system.InputDevices.Touchscreen proxy.MockObject }
type Touchpad ¶
func NewTouchpad ¶
type Touchscreen ¶
func NewTouchscreen ¶
func NewTouchscreen(conn *dbus.Conn, path dbus.ObjectPath) (Touchscreen, error)
Click to show internal directories.
Click to hide internal directories.