...

Source file src/code.rocketnine.space/tslocum/etk/keybind.go

Documentation: code.rocketnine.space/tslocum/etk

     1  package etk
     2  
     3  import "github.com/hajimehoshi/ebiten/v2"
     4  
     5  type Shortcuts struct {
     6  	ConfirmKeyboard []ebiten.Key
     7  	ConfirmMouse    []ebiten.MouseButton
     8  	ConfirmGamepad  []ebiten.GamepadButton
     9  }
    10  
    11  var Bindings = &Shortcuts{
    12  	ConfirmKeyboard: []ebiten.Key{ebiten.KeyEnter, ebiten.KeyKPEnter},
    13  	ConfirmMouse:    []ebiten.MouseButton{ebiten.MouseButtonLeft},
    14  	ConfirmGamepad:  []ebiten.GamepadButton{ebiten.GamepadButton0},
    15  }
    16  

View as plain text