MCPcopy
hub / github.com/EngoEngine/engo / AxisKeyPair

Struct AxisKeyPair

axis.go:29–32  ·  view source on GitHub ↗

An AxisKeyPair is a set of Min/Max values used for detecting whether or not a key has been pressed.

Source from the content-addressed store, hash-verified

27
28// An AxisKeyPair is a set of Min/Max values used for detecting whether or not a key has been pressed.
29type AxisKeyPair struct {
30 Min Key
31 Max Key
32}
33
34// Value returns the value of a keypress.
35func (keys AxisKeyPair) Value() float32 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected