input

package
v0.0.0-...-a793aa1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keyboard

type Keyboard struct {
	// contains filtered or unexported fields
}

func NewKeyboard

func NewKeyboard() *Keyboard

func (*Keyboard) KeyHeldDown

func (k *Keyboard) KeyHeldDown(key sdl.Keycode) bool

func (*Keyboard) KeyJustPressed

func (k *Keyboard) KeyJustPressed(key sdl.Keycode) bool

func (*Keyboard) KeyReleased

func (k *Keyboard) KeyReleased(key sdl.Keycode) bool

func (*Keyboard) OnEvent

func (k *Keyboard) OnEvent(t *sdl.KeyboardEvent)

func (*Keyboard) ResetChangedStates

func (k *Keyboard) ResetChangedStates()

Jump to

Keyboard shortcuts

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