Пример #1
0
func GetScancodeFromKey(key int32) int32 {
	return int32(C.SDL_GetScancodeFromKey(C.SDL_Keycode(key)))
}
Пример #2
0
func (k Keycode) GetScancode() Scancode {
	return Scancode(C.SDL_GetScancodeFromKey(k.c()))
}
Пример #3
0
func GetScancodeFromKey(key Keycode) Scancode {
	_key := (C.SDL_Keycode)(key)
	return (Scancode)(C.SDL_GetScancodeFromKey(_key))
}
Пример #4
0
func GetScancodeFromKey(code Keycode) Scancode {
	return (Scancode)(C.SDL_GetScancodeFromKey(code.c()))
}