Пример #1
0
func GetKeyFromScancode(scancode int32) int32 {
	return int32(C.SDL_GetKeyFromScancode(C.SDL_Scancode(scancode)))
}
Пример #2
0
func (s Scancode) GetKey() Keycode {
	return Keycode(C.SDL_GetKeyFromScancode(s.c()))
}
Пример #3
0
func GetKeyFromScancode(scancode Scancode) Keycode {
	_scancode := (C.SDL_Scancode)(scancode)
	return (Keycode)(C.SDL_GetKeyFromScancode(_scancode))
}
Пример #4
0
func GetKeyFromScancode(code Scancode) Keycode {
	return (Keycode)(C.SDL_GetKeyFromScancode(code.c()))
}