ble

package
v0.0.0-...-16e31a9 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatrixPacket

type MatrixPacket [20]byte

func NewMatrixPacket

func NewMatrixPacket(rows, cols int) MatrixPacket

func (*MatrixPacket) Cols

func (pkt *MatrixPacket) Cols() int

func (*MatrixPacket) DecodeTo

func (pkt *MatrixPacket) DecodeTo(matrix []keyboard.Row) (ok bool, rows, cols uint8)

func (*MatrixPacket) EncodeFrom

func (pkt *MatrixPacket) EncodeFrom(rows, cols uint8, matrix []keyboard.Row)

func (*MatrixPacket) Rows

func (pkt *MatrixPacket) Rows() int

func (*MatrixPacket) String

func (pkt *MatrixPacket) String() string

Jump to

Keyboard shortcuts

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