MCPcopy Index your code
hub / github.com/EngoEngine/engo / Gamepad

Method Gamepad

input.go:81–83  ·  view source on GitHub ↗

Gamepad retrieves a Gamepad with a specified name.

(name string)

Source from the content-addressed store, hash-verified

79
80// Gamepad retrieves a Gamepad with a specified name.
81func (im *InputManager) Gamepad(name string) *Gamepad {
82 return im.gamepads.GetGamepad(name)
83}
84
85// Mouse represents the mouse
86type Mouse struct {

Callers 1

UpdateMethod · 0.80

Calls 1

GetGamepadMethod · 0.80

Tested by

no test coverage detected