func GameControllerGetStringForButton(button GameControllerButton) string {
	_button := (C.SDL_GameControllerButton)(button)
	return (C.GoString)(C.SDL_GameControllerGetStringForButton(_button))
}
Exemple #2
0
// GameControllerGetStringForButton (https://wiki.libsdl.org/SDL_GameControllerGetStringForButton)
func GameControllerGetStringForButton(btn GameControllerButton) string {
	return C.GoString(C.SDL_GameControllerGetStringForButton(btn.c()))
}