kbd

package
v0.0.0-...-35c5657 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(key ebiten.Key, listener Listener)

Register associates a KeyListener with a specific Key

func Update

func Update()

Update scans for currently pressed keys and debounces input

Types

type Listener

type Listener func(key ebiten.Key)

Listener is a function to call in response to a Key being pressed

Jump to

Keyboard shortcuts

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