Versions in this module Expand all Collapse all v1 v1.0.1 May 14, 2023 v1.0.0 Mar 29, 2023 Changes in this version + func NewLValue(L *lua.LState, kb *Registry) lua.LValue + type Callback func() error + type KeyEvent struct + Key rune + Modifiers Modifiers + func (s KeyEvent) String() string + type KeyEvents []KeyEvent + func (ss KeyEvents) String() string + type Modifiers uint32 + const ModAlt + const ModCommand + const ModCtrl + const ModShift + const ModSuper + func (m Modifiers) Contain(m2 Modifiers) bool + func (m Modifiers) String() string + type Registry struct + func NewRegistry(cl states.Func) *Registry + func (kbr *Registry) Add(layout states.Enum, keyString string, callback Callback) + func (kbr *Registry) Run(e KeyEvent)