Documentation ¶
Index ¶
- Constants
- func CanAdaptiveAccelProfile(sysName string) bool
- func CanDisableWhileTyping(sysName string) bool
- func CanEnabled(sysName string) bool
- func CanLeftHanded(sysName string) bool
- func CanLmrTapButtonMap(sysName string) bool
- func CanMiddleButtonEmulation(sysName string) bool
- func CanNaturalScroll(sysName string) bool
- func CanScrollEdge(sysName string) bool
- func CanScrollTwoFinger(sysName string) bool
- func CanTapToClick(sysName string) bool
- func Enable(sysName string, enabled bool) error
- func EnableAdaptiveAccelProfile(sysName string, enabled bool) error
- func EnableDisableWhileTyping(sysName string, enabled bool) error
- func EnableLeftHanded(sysName string, enabled bool) error
- func EnableLmrTapButtonMap(sysName string, enabled bool) error
- func EnableMiddleEmulation(sysName string, enabled bool) error
- func EnableNaturalScroll(sysName string, enabled bool) error
- func EnableScrollEdge(sysName string, enabled bool) error
- func EnableScrollTwoFinger(sysName string, enabled bool) error
- func EnableTapToClick(sysName string, enabled bool) error
- func GetPointerAccel(sysName string) (float64, error)
- func GetScrollButton(sysName string) (uint32, error)
- func ListDevice() (DeviceInfos, error)
- func NewDeviceInfo(sysName string) (*DeviceInfo, error)
- func SetPointerAccel(sysName string, v float64) error
- func SetScrollButton(sysName string, v uint32) error
Constants ¶
View Source
const (
SysNamePrefix = "event"
)
Variables ¶
This section is empty.
Functions ¶
func CanAdaptiveAccelProfile ¶
func CanDisableWhileTyping ¶
func CanEnabled ¶
func CanLeftHanded ¶
func CanLmrTapButtonMap ¶
func CanNaturalScroll ¶
func CanScrollEdge ¶
func CanScrollTwoFinger ¶
func CanTapToClick ¶
func EnableLeftHanded ¶
func EnableLmrTapButtonMap ¶
func EnableMiddleEmulation ¶
func EnableNaturalScroll ¶
func EnableScrollEdge ¶
func EnableScrollTwoFinger ¶
func EnableTapToClick ¶
func GetPointerAccel ¶
func GetScrollButton ¶
func ListDevice ¶
func ListDevice() (DeviceInfos, error)
func NewDeviceInfo ¶
func SetPointerAccel ¶
func SetScrollButton ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.