function interpret_events() {

        // Do not prevent default if no event could be interpreted
        var handled_event = interpret_event();
        if (!handled_event)
            return false;

        // Interpret as much as possible
        var last_event;
        do {
            last_event = handled_event;
            handled_event = interpret_event();
        } while (handled_event !== null);

        return last_event.defaultPrevented;

    }
Reads through the event log, removing events from the head of the log
when the corresponding true key presses are known (or as known as they
can be).

@return {Boolean} Whether the default action of the latest event should
                  be prevented.