input

package
v0.0.0-...-c6b0ec9 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDevicePath

func GetDevicePath(serial string, productID uint16) (string, uint16, error)

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(path string, invert_axes bool) (*Reader, error)

func (*Reader) Close

func (r *Reader) Close()

func (*Reader) Grab

func (r *Reader) Grab()

func (*Reader) Stream

func (r *Reader) Stream(out chan<- mapping.JoystickEvent)

func (*Reader) String

func (r *Reader) String() string

func (*Reader) Ungrab

func (r *Reader) Ungrab()

Jump to

Keyboard shortcuts

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