input

package
v0.0.0-...-168ccc2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

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

Event contains 32-bit identifier of source of event and 32-bit event value.

func MakeIntEvent

func MakeIntEvent(src uint32, val int) Event

MakeIntEvent creates new event with int value.

func MakePinEvent

func MakePinEvent(src uint32, pins gpio.Pins) Event

MakePinEvent creates new event with gpio.Pins value.

func (Event) Int

func (e Event) Int() int

func (Event) Pins

func (e Event) Pins() gpio.Pins

func (Event) Src

func (e Event) Src() uint32

Directories

Path Synopsis
Package button provides polling and interrupt based drivers to push button.
Package button provides polling and interrupt based drivers to push button.
Package encoder provides simple, interrupt driven, driver to rotary encoder.
Package encoder provides simple, interrupt driven, driver to rotary encoder.

Jump to

Keyboard shortcuts

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