Beispiel #1
0
func GetKeyboardEventSource() *EventSource {
	var es *C.ALLEGRO_EVENT_SOURCE

	es = C.al_get_keyboard_event_source()

	return createEventSource(es)
}
Beispiel #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())
}
Beispiel #3
0
func GetKeyboardEventSource() *EventSource {
	return (*EventSource)(unsafe.Pointer(C.al_get_keyboard_event_source()))
}