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