static void press_key(VncState *vs, int keysym)

{

    int keycode = keysym2scancode(vs->vd->kbd_layout, keysym) & SCANCODE_KEYMASK;

    qemu_input_event_send_key_number(vs->vd->dcl.con, keycode, true);

    qemu_input_event_send_key_delay(0);

    qemu_input_event_send_key_number(vs->vd->dcl.con, keycode, false);

    qemu_input_event_send_key_delay(0);

}

static void press_key(VncState *vs, int keysym)

{

    int keycode = keysym2scancode(vs->vd->kbd_layout, keysym) & SCANCODE_KEYMASK;

    qemu_input_event_send_key_number(vs->vd->dcl.con, keycode, true);

    qemu_input_event_send_key_delay(0);

    qemu_input_event_send_key_number(vs->vd->dcl.con, keycode, false);

    qemu_input_event_send_key_delay(0);

}

static void FUNC_0(VncState *VAR_0, int VAR_1)

{

    int VAR_2 = keysym2scancode(VAR_0->vd->kbd_layout, VAR_1) & SCANCODE_KEYMASK;

    qemu_input_event_send_key_number(VAR_0->vd->dcl.con, VAR_2, true);

    qemu_input_event_send_key_delay(0);

    qemu_input_event_send_key_number(VAR_0->vd->dcl.con, VAR_2, false);

    qemu_input_event_send_key_delay(0);

}

static void FUNC_0(VncState *VAR_0, int VAR_1)
{ int VAR_2 = keysym2scancode(VAR_0->vd->kbd_layout, VAR_1) & SCANCODE_KEYMASK; qemu_input_event_send_key_number(VAR_0->vd->dcl.con, VAR_2, true); qemu_input_event_send_key_delay(0); qemu_input_event_send_key_number(VAR_0->vd->dcl.con, VAR_2, false); qemu_input_event_send_key_delay(0); }