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