control

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ButtonLabel = ButtonLabelEn
View Source
var ButtonLabelEn = buttonLabel{
	Up:     "Up",
	Down:   "Down",
	Action: "Action",
}
View Source
var ButtonLabelJp = buttonLabel{
	Up:     "上",
	Down:   "下",
	Action: "アクション",
}

Functions

func GetGamepadId

func GetGamepadId() *ebiten.GamepadID

func UpdateGamepadIds

func UpdateGamepadIds()

Types

type Mode

type Mode = int
const (
	Mouse Mode = iota
	Touch
	Gamepad
)

func UpdateControlMode

func UpdateControlMode(current Mode) Mode

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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