Exemplo n.º 1
0
func GetKeyboardEventSource() *EventSource {
	var es *C.ALLEGRO_EVENT_SOURCE

	es = C.al_get_keyboard_event_source()

	return createEventSource(es)
}
Exemplo n.º 2
0
// Returns the Keyboard event source that can be registered to an EventQueue
// with RegisterEventSource.
func GetKeyboardEventSource() *EventSource {
	return (*EventSource)(C.al_get_keyboard_event_source())
}
Exemplo n.º 3
0
func GetKeyboardEventSource() *EventSource {
	return (*EventSource)(unsafe.Pointer(C.al_get_keyboard_event_source()))
}