common

package
v0.0.0-...-9ed771f Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: GPL-3.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DevTypeUnknown int32 = iota
	DevTypeKeyboard
	DevTypeMouse
	DevTypeTouchpad
	DevTypeWacom
	DevTypeTouchscreen
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceInfo

type DeviceInfo struct {
	Id      int32
	Type    int32
	Name    string
	Enabled bool
}

type DeviceInfos

type DeviceInfos []*DeviceInfo

func (DeviceInfos) Get

func (infos DeviceInfos) Get(id int32) *DeviceInfo

Jump to

Keyboard shortcuts

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