Lines Matching refs:xindata

83 				    xnee_intercept_data* xindata,   in xnee_replay_event_handler_sleep_amt()  argument
99 saved_time = xindata->oldtime ; in xnee_replay_event_handler_sleep_amt()
103 xindata->oldtime = saved_time; in xnee_replay_event_handler_sleep_amt()
110 xnee_verbose((xd,"ev handler new %lu old %lu\n",xindata->newtime , xindata->oldtime )); in xnee_replay_event_handler_sleep_amt()
111 record_last_diff = xnee_delta_time(xindata) ; in xnee_replay_event_handler_sleep_amt()
113 record_first_diff = ( xindata->newtime - xd->first_read_time ) ; in xnee_replay_event_handler_sleep_amt()
200 xnee_intercept_data* xindata, in xnee_replay_event_handler() argument
218 xindata->u.event.type, in xnee_replay_event_handler()
226 if ( xindata->type == XNEE_PROTO_XINPUT_EVENT_MASTER ) in xnee_replay_event_handler()
228 xnee_verbose ((xd, "ignore master event %d\n", xindata->type)); in xnee_replay_event_handler()
238 switch (xindata->u.event.type) in xnee_replay_event_handler()
242 xindata, in xnee_replay_event_handler()
246 xnee_fake_key_event (xd, xindata->u.event.keycode, XNEE_PRESS, sleep_amt ); in xnee_replay_event_handler()
250 xindata, in xnee_replay_event_handler()
254 xnee_fake_key_event (xd, xindata->u.event.keycode, XNEE_RELEASE, sleep_amt); in xnee_replay_event_handler()
258 xindata, in xnee_replay_event_handler()
262 xnee_fake_button_event(xd, xindata->u.event.button, XNEE_PRESS, sleep_amt); in xnee_replay_event_handler()
266 xindata, in xnee_replay_event_handler()
270 xnee_fake_button_event(xd, xindata->u.event.button, XNEE_RELEASE, sleep_amt); in xnee_replay_event_handler()
274 screen = xindata->u.event.screen_nr ; in xnee_replay_event_handler()
275 x = (int) xindata->u.event.x ; in xnee_replay_event_handler()
276 y = (int) xindata->u.event.y ; in xnee_replay_event_handler()
283 xindata, in xnee_replay_event_handler()
300 … xnee_verbose((xd, " Did NOT replay %d returning XNEE_NOT_REPLAYABLE \n", xindata->u.event.type)); in xnee_replay_event_handler()
303 xindata, in xnee_replay_event_handler()
314 if ( xindata->type == XNEE_PROTO_XINPUT_EVENT_SLAVE ) in xnee_replay_event_handler()
317 xindata, in xnee_replay_event_handler()
321 if ( ( xindata->u.xievent.type >= KeyPress ) in xnee_replay_event_handler()
322 && (xindata->u.xievent.type <= MotionNotify) ) in xnee_replay_event_handler()
324 int screen = xindata->u.event.screen_nr ; in xnee_replay_event_handler()
325 int x = (int) xindata->u.xievent.x ; in xnee_replay_event_handler()
326 int y = (int) xindata->u.xievent.y ; in xnee_replay_event_handler()
327 int devid = (int) xindata->u.xievent.deviceid ; in xnee_replay_event_handler()
329 if ( xindata->u.xievent.type == MotionNotify) in xnee_replay_event_handler()
338 else if (xindata->u.xievent.type == ButtonPress) in xnee_replay_event_handler()
341 xnee_fake_xi_button_event(xd, xindata->u.event.button, in xnee_replay_event_handler()
344 else if (xindata->u.xievent.type == ButtonRelease) in xnee_replay_event_handler()
347 xnee_fake_xi_button_event(xd, xindata->u.event.button, in xnee_replay_event_handler()
350 else if (xindata->u.xievent.type == KeyPress) in xnee_replay_event_handler()
353 xnee_fake_xi_key_event (xd, xindata->u.xievent.keycode, XNEE_PRESS, sleep_amt, devid); in xnee_replay_event_handler()
355 else if (xindata->u.xievent.type == KeyRelease) in xnee_replay_event_handler()
358 xnee_fake_xi_key_event (xd, xindata->u.xievent.keycode, XNEE_RELEASE, sleep_amt, devid); in xnee_replay_event_handler()
375 xindata->u.event.type )); in xnee_replay_event_handler()