Get a reference to data at self as a SDLKeyboardDownEvent

Require: is_keydown

Property definitions

sdl2 $ SDLEventBuffer :: to_keydown
	# Get a reference to data at `self` as a `SDLKeyboardDownEvent`
	#
	# Require: `is_keydown`
	fun to_keydown: SDLKeyboardDownEvent `{ return self; `}
lib/sdl2/events.nit:102,2--105,56