Exemplo n.º 1
0
func (gamecontroller *GameController) GetBindForAxis(axis GameControllerAxis) GameControllerButtonBind {
	_gamecontroller := (*C.SDL_GameController)(gamecontroller)
	_axis := (C.SDL_GameControllerAxis)(axis)
	return (GameControllerButtonBind)(C.SDL_GameControllerGetBindForAxis(_gamecontroller, _axis))
}
Exemplo n.º 2
0
// GameController (https://wiki.libsdl.org/SDL_GameControllerGetBindForAxis)
func (ctrl *GameController) GetBindForAxis(axis GameControllerAxis) GameControllerButtonBind {
	return GameControllerButtonBind(C.SDL_GameControllerGetBindForAxis(ctrl.cptr(), axis.c()))
}