Beispiel #1
0
func GetScancodeName(scancode int32) string {
	name := C.GoString(C.SDL_GetScancodeName(C.SDL_Scancode(scancode)))
	return name
}
Beispiel #2
0
func (s Scancode) GetName() string {
	return C.GoString(C.SDL_GetScancodeName(s.c()))
}
Beispiel #3
0
func GetScancodeName(scancode Scancode) string {
	_scancode := (C.SDL_Scancode)(scancode)
	return (C.GoString)(C.SDL_GetScancodeName(_scancode))
}
Beispiel #4
0
func GetScancodeName(code Scancode) string {
	return (C.GoString)(C.SDL_GetScancodeName(code.c()))
}