inputdevices1

package
v0.0.0-...-454a0ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 7 Imported by: 3

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputDevices

type InputDevices interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewInputDevices

func NewInputDevices(conn *dbus.Conn) InputDevices

type MockInputDevices

type MockInputDevices struct {
	MockInterfaceInputDevices // interface org.deepin.dde.InputDevices1
	proxy.MockObject
}

type MockInterfaceInputDevices

type MockInterfaceInputDevices struct {
	mock.Mock
}

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

type MockInterfaceTouchpad

type MockInterfaceTouchpad struct {
	mock.Mock
}

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

type MockInterfaceTouchscreen struct {
	mock.Mock
}

func (*MockInterfaceTouchscreen) BusType

func (*MockInterfaceTouchscreen) DevNode

func (*MockInterfaceTouchscreen) Height

func (*MockInterfaceTouchscreen) Name

func (*MockInterfaceTouchscreen) OutputName

func (v *MockInterfaceTouchscreen) OutputName() proxy.PropString

func (*MockInterfaceTouchscreen) Phys

func (*MockInterfaceTouchscreen) Serial

func (*MockInterfaceTouchscreen) UUID

func (*MockInterfaceTouchscreen) Width

type MockTouchpad

type MockTouchpad struct {
	MockInterfaceTouchpad // interface org.deepin.dde.InputDevices1.Touchpad
	proxy.MockObject
}

type MockTouchscreen

type MockTouchscreen struct {
	MockInterfaceTouchscreen // interface org.deepin.dde.InputDevices1.Touchscreen
	proxy.MockObject
}

type Touchpad

type Touchpad interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewTouchpad

func NewTouchpad(conn *dbus.Conn, path dbus.ObjectPath) (Touchpad, error)

type Touchscreen

type Touchscreen interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewTouchscreen

func NewTouchscreen(conn *dbus.Conn, path dbus.ObjectPath) (Touchscreen, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL