func (gamecontroller *GameController) GetButton(button GameControllerButton) byte { _gamecontroller := (*C.SDL_GameController)(gamecontroller) _button := (C.SDL_GameControllerButton)(button) return (byte)(C.SDL_GameControllerGetButton(_gamecontroller, _button)) }
// GameController (https://wiki.libsdl.org/SDL_GameControllerGetButton) func (ctrl *GameController) GetButton(btn GameControllerButton) byte { return byte(C.SDL_GameControllerGetButton(ctrl.cptr(), btn.c())) }