input

package
v0.0.0-...-bcaffd1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MouseDown
	MouseUp
	MouseMove
	PointerDown
	PointerMove
	PointerEnd
	PointerCancel
)

Pointer comments

View Source
const (
	KeyDown = iota
	KeyUp
)

Consts for key handlers

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyEvent

type KeyEvent struct {
	Type int
	Key  string // temp, it should be code
}

KeyEvent thing

type PointerData

type PointerData mgl32.Vec2

PointerData common

type PointerEvent

type PointerEvent struct {
	Type     PointerType
	Pointers map[int]PointerData
}

PointerEvent on canvas

type PointerType

type PointerType int

PointerType pointer event type

Jump to

Keyboard shortcuts

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