void qemu_input_event_send(QemuConsole *src, InputEvent *evt)

{

    QemuInputHandlerState *s;



    if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) {

        return;

    }



    qemu_input_event_trace(src, evt);



    /* pre processing */

    if (graphic_rotate && (evt->type == INPUT_EVENT_KIND_ABS)) {

            qemu_input_transform_abs_rotate(evt);

    }



    /* send event */

    s = qemu_input_find_handler(1 << evt->type, src);

    if (!s) {

        return;

    }

    s->handler->event(s->dev, src, evt);

    s->events++;

}

void qemu_input_event_send(QemuConsole *src, InputEvent *evt)

{

    QemuInputHandlerState *s;



    if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) {

        return;

    }



    qemu_input_event_trace(src, evt);



    

    if (graphic_rotate && (evt->type == INPUT_EVENT_KIND_ABS)) {

            qemu_input_transform_abs_rotate(evt);

    }



    

    s = qemu_input_find_handler(1 << evt->type, src);

    if (!s) {

        return;

    }

    s->handler->event(s->dev, src, evt);

    s->events++;

}

void FUNC_0(QemuConsole *VAR_0, InputEvent *VAR_1)

{

    QemuInputHandlerState *s;



    if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) {

        return;

    }



    qemu_input_event_trace(VAR_0, VAR_1);



    

    if (graphic_rotate && (VAR_1->type == INPUT_EVENT_KIND_ABS)) {

            qemu_input_transform_abs_rotate(VAR_1);

    }



    

    s = qemu_input_find_handler(1 << VAR_1->type, VAR_0);

    if (!s) {

        return;

    }

    s->handler->event(s->dev, VAR_0, VAR_1);

    s->events++;

}

void FUNC_0(QemuConsole *VAR_0, InputEvent *VAR_1)
{ QemuInputHandlerState *s; if (!runstate_is_running() && !runstate_check(RUN_STATE_SUSPENDED)) { return; } qemu_input_event_trace(VAR_0, VAR_1); if (graphic_rotate && (VAR_1->type == INPUT_EVENT_KIND_ABS)) { qemu_input_transform_abs_rotate(VAR_1); } s = qemu_input_find_handler(1 << VAR_1->type, VAR_0); if (!s) { return; } s->handler->event(s->dev, VAR_0, VAR_1); s->events++; }