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
Click to show internal directories.
Click to hide internal directories.