Fyne API "embedded.KeyDirection"
embedded.KeyDirection
import "fyne.io/fyne/v2/driver/embedded"
Usage
type KeyDirection
type KeyDirection uint8
KeyDirection specifies the press/release of a key event
Since:
2.7
const (
// KeyPressed specifies that a key was pushed down.
//
// Since: 2.7
KeyPressed KeyDirection = iota
// KeyReleased indicates a key was let back up.
//
// Since: 2.7
KeyReleased
)