Axis retrieves an Axis with a specified name.
(name string)
| 69 | |
| 70 | // Axis retrieves an Axis with a specified name. |
| 71 | func (im *InputManager) Axis(name string) Axis { |
| 72 | return im.axes[name] |
| 73 | } |
| 74 | |
| 75 | // Button retrieves a Button with a specified name. |
| 76 | func (im *InputManager) Button(name string) Button { |
no outgoing calls