static int xenfb_send_position(struct XenInput *xenfb,

			       int abs_x, int abs_y, int z)

{

    union xenkbd_in_event event;



    memset(&event, 0, XENKBD_IN_EVENT_SIZE);

    event.type = XENKBD_TYPE_POS;

    event.pos.abs_x = abs_x;

    event.pos.abs_y = abs_y;

#if __XEN_LATEST_INTERFACE_VERSION__ == 0x00030207

    event.pos.abs_z = z;

#endif

#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030208

    event.pos.rel_z = z;

#endif



    return xenfb_kbd_event(xenfb, &event);

}

static int xenfb_send_position(struct XenInput *xenfb,

			       int abs_x, int abs_y, int z)

{

    union xenkbd_in_event event;



    memset(&event, 0, XENKBD_IN_EVENT_SIZE);

    event.type = XENKBD_TYPE_POS;

    event.pos.abs_x = abs_x;

    event.pos.abs_y = abs_y;

#if __XEN_LATEST_INTERFACE_VERSION__ == 0x00030207

    event.pos.abs_z = z;

#endif

#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030208

    event.pos.rel_z = z;

#endif



    return xenfb_kbd_event(xenfb, &event);

}

static int FUNC_0(struct XenInput *VAR_0,

			       int VAR_1, int VAR_2, int VAR_3)

{

    union xenkbd_in_event VAR_4;



    memset(&VAR_4, 0, XENKBD_IN_EVENT_SIZE);

    VAR_4.type = XENKBD_TYPE_POS;

    VAR_4.pos.VAR_1 = VAR_1;

    VAR_4.pos.VAR_2 = VAR_2;

#if __XEN_LATEST_INTERFACE_VERSION__ == 0x00030207

    VAR_4.pos.abs_z = VAR_3;

#endif

#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030208

    VAR_4.pos.rel_z = VAR_3;

#endif



    return xenfb_kbd_event(VAR_0, &VAR_4);

}

static int FUNC_0(struct XenInput *VAR_0,
int VAR_1, int VAR_2, int VAR_3)
{ union xenkbd_in_event VAR_4; memset(&VAR_4, 0, XENKBD_IN_EVENT_SIZE); VAR_4.type = XENKBD_TYPE_POS; VAR_4.pos.VAR_1 = VAR_1; VAR_4.pos.VAR_2 = VAR_2; #if __XEN_LATEST_INTERFACE_VERSION__ == 0x00030207
VAR_4.pos.abs_z = VAR_3; #endif
#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030208
VAR_4.pos.rel_z = VAR_3; #endif
return xenfb_kbd_event(VAR_0, &VAR_4); }