kwayland

package
v0.0.0-...-2620c0f Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: GPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	SysNamePrefix = "event"
)

Variables

This section is empty.

Functions

func CanAdaptiveAccelProfile

func CanAdaptiveAccelProfile(sysName string) bool

func CanDisableWhileTyping

func CanDisableWhileTyping(sysName string) bool

func CanEnabled

func CanEnabled(sysName string) bool

func CanLeftHanded

func CanLeftHanded(sysName string) bool

func CanLmrTapButtonMap

func CanLmrTapButtonMap(sysName string) bool

func CanMiddleButtonEmulation

func CanMiddleButtonEmulation(sysName string) bool

func CanNaturalScroll

func CanNaturalScroll(sysName string) bool

func CanScrollEdge

func CanScrollEdge(sysName string) bool

func CanScrollTwoFinger

func CanScrollTwoFinger(sysName string) bool

func CanTapToClick

func CanTapToClick(sysName string) bool

func Enable

func Enable(sysName string, enabled bool) error

func EnableAdaptiveAccelProfile

func EnableAdaptiveAccelProfile(sysName string, enabled bool) error

func EnableDisableWhileTyping

func EnableDisableWhileTyping(sysName string, enabled bool) error

func EnableLeftHanded

func EnableLeftHanded(sysName string, enabled bool) error

func EnableLmrTapButtonMap

func EnableLmrTapButtonMap(sysName string, enabled bool) error

func EnableMiddleEmulation

func EnableMiddleEmulation(sysName string, enabled bool) error

func EnableNaturalScroll

func EnableNaturalScroll(sysName string, enabled bool) error

func EnableScrollEdge

func EnableScrollEdge(sysName string, enabled bool) error

func EnableScrollTwoFinger

func EnableScrollTwoFinger(sysName string, enabled bool) error

func EnableTapToClick

func EnableTapToClick(sysName string, enabled bool) error

func GetPointerAccel

func GetPointerAccel(sysName string) (float64, error)

func GetScrollButton

func GetScrollButton(sysName string) (uint32, error)

func ListDevice

func ListDevice() (DeviceInfos, error)

func NewDeviceInfo

func NewDeviceInfo(sysName string) (*DeviceInfo, error)

func SetPointerAccel

func SetPointerAccel(sysName string, v float64) error

func SetScrollButton

func SetScrollButton(sysName string, v uint32) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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