static int xenfb_send_motion(struct XenInput *xenfb,

			     int rel_x, int rel_y, int rel_z)

{

    union xenkbd_in_event event;



    memset(&event, 0, XENKBD_IN_EVENT_SIZE);

    event.type = XENKBD_TYPE_MOTION;

    event.motion.rel_x = rel_x;

    event.motion.rel_y = rel_y;

#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030207

    event.motion.rel_z = rel_z;

#endif



    return xenfb_kbd_event(xenfb, &event);

}

static int xenfb_send_motion(struct XenInput *xenfb,

			     int rel_x, int rel_y, int rel_z)

{

    union xenkbd_in_event event;



    memset(&event, 0, XENKBD_IN_EVENT_SIZE);

    event.type = XENKBD_TYPE_MOTION;

    event.motion.rel_x = rel_x;

    event.motion.rel_y = rel_y;

#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030207

    event.motion.rel_z = rel_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_MOTION;

    VAR_4.motion.VAR_1 = VAR_1;

    VAR_4.motion.VAR_2 = VAR_2;

#if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030207

    VAR_4.motion.VAR_3 = 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_MOTION; VAR_4.motion.VAR_1 = VAR_1; VAR_4.motion.VAR_2 = VAR_2; #if __XEN_LATEST_INTERFACE_VERSION__ >= 0x00030207
VAR_4.motion.VAR_3 = VAR_3; #endif
return xenfb_kbd_event(VAR_0, &VAR_4); }