Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bindings ¶
type Bindings interface { Lookup(code key.Code) KeyBinding On(k KeyBinding, fn func(KeyBinding)) Press(code key.Code) Pressed(k KeyBinding) bool Release(code key.Code) }
func DefaultBindings ¶
func DefaultBindings() Bindings
type KeyBinding ¶
type KeyBinding uint8
const ( KeyUnknown KeyBinding = iota KeyCamForward KeyCamReverse KeyCamLeft KeyCamRight KeyCamUp KeyCamDown KeyLineLeft KeyLineRight KeyCameraFollow KeyPause KeyReload KeyDebug )
Click to show internal directories.
Click to hide internal directories.