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