Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyPressMap ¶
type KeyPressMap struct { KeyboardPressedMap map[string]bool // contains filtered or unexported fields }
func New ¶
func New() *KeyPressMap
func (*KeyPressMap) IsPressed ¶
func (kpm *KeyPressMap) IsPressed(kcode string) bool
func (*KeyPressMap) KeyDown ¶
func (kpm *KeyPressMap) KeyDown(kcode string) bool
func (*KeyPressMap) KeyUp ¶
func (kpm *KeyPressMap) KeyUp(kcode string) bool
func (*KeyPressMap) SumMoveDxDy ¶
Click to show internal directories.
Click to hide internal directories.