Events and interaction

    You can listen to global events (keyboard, touch, mouse, window) by adding event listener to the hxd.Window instance.

    Keyboard events can be observerd using the global event, check if the is EKeyDown or .

    You can listen to resize events by adding listener to the instance.

    All events callbacks in Heaps receive a hxd.Event instance, which contains info about the event.