Lines Matching refs:ev

79                     register XDeviceKeyEvent *ev = (XDeviceKeyEvent *) re;
89 kev->type = ev->type;
90 kev->root = ev->root;
91 kev->event = ev->window;
92 kev->child = ev->subwindow;
93 kev->time = ev->time;
94 kev->event_x = ev->x;
95 kev->event_y = ev->y;
96 kev->root_x = ev->x_root;
97 kev->root_y = ev->y_root;
98 kev->state = ev->state;
99 kev->same_screen = ev->same_screen;
100 kev->detail = ev->keycode;
101 kev->deviceid = ev->deviceid | MORE_EVENTS;
105 vev->deviceid = ev->deviceid;
106 vev->device_state = ev->device_state;
107 vev->first_valuator = ev->first_axis;
108 vev->num_valuators = ev->axes_count;
114 vev->valuator5 = ev->axis_data[5];
116 vev->valuator4 = ev->axis_data[4];
118 vev->valuator3 = ev->axis_data[3];
120 vev->valuator2 = ev->axis_data[2];
122 vev->valuator1 = ev->axis_data[1];
124 vev->valuator0 = ev->axis_data[0];
131 register XProximityNotifyEvent *ev = (XProximityNotifyEvent *) re;
141 pev->type = ev->type;
142 pev->root = ev->root;
143 pev->event = ev->window;
144 pev->child = ev->subwindow;
145 pev->time = ev->time;
146 pev->event_x = ev->x;
147 pev->event_y = ev->y;
148 pev->root_x = ev->x_root;
149 pev->root_y = ev->y_root;
150 pev->state = ev->state;
151 pev->same_screen = ev->same_screen;
152 pev->deviceid = ev->deviceid | MORE_EVENTS;
156 vev->deviceid = ev->deviceid;
157 vev->device_state = ev->device_state;
158 vev->first_valuator = ev->first_axis;
159 vev->num_valuators = ev->axes_count;
166 vev->valuator5 = ev->axis_data[5];
168 vev->valuator4 = ev->axis_data[4];
170 vev->valuator3 = ev->axis_data[3];
172 vev->valuator2 = ev->axis_data[2];
174 vev->valuator1 = ev->axis_data[1];
176 vev->valuator0 = ev->axis_data[0];
183 register XDeviceButtonEvent *ev = (XDeviceButtonEvent *) re;
193 bev->type = ev->type;
194 bev->root = ev->root;
195 bev->event = ev->window;
196 bev->child = ev->subwindow;
197 bev->time = ev->time;
198 bev->event_x = ev->x;
199 bev->event_y = ev->y;
200 bev->root_x = ev->x_root;
201 bev->root_y = ev->y_root;
202 bev->state = ev->state;
203 bev->same_screen = ev->same_screen;
204 bev->detail = ev->button;
205 bev->deviceid = ev->deviceid | MORE_EVENTS;
209 vev->deviceid = ev->deviceid;
210 vev->device_state = ev->device_state;
211 vev->first_valuator = ev->first_axis;
212 vev->num_valuators = ev->axes_count;
219 vev->valuator5 = ev->axis_data[5];
221 vev->valuator4 = ev->axis_data[4];
223 vev->valuator3 = ev->axis_data[3];
225 vev->valuator2 = ev->axis_data[2];
227 vev->valuator1 = ev->axis_data[1];
229 vev->valuator0 = ev->axis_data[0];
235 register XDeviceMotionEvent *ev = (XDeviceMotionEvent *) re;
245 mev->type = ev->type;
246 mev->root = ev->root;
247 mev->event = ev->window;
248 mev->child = ev->subwindow;
249 mev->time = ev->time;
250 mev->event_x = ev->x;
251 mev->event_y = ev->y;
252 mev->root_x = ev->x_root;
253 mev->root_y = ev->y_root;
254 mev->state = ev->state;
255 mev->same_screen = ev->same_screen;
256 mev->detail = ev->is_hint;
257 mev->deviceid = ev->deviceid | MORE_EVENTS;
261 vev->deviceid = ev->deviceid;
262 vev->device_state = ev->device_state;
263 vev->first_valuator = ev->first_axis;
264 vev->num_valuators = ev->axes_count;
271 vev->valuator5 = ev->axis_data[5];
273 vev->valuator4 = ev->axis_data[4];
275 vev->valuator3 = ev->axis_data[3];
277 vev->valuator2 = ev->axis_data[2];
279 vev->valuator1 = ev->axis_data[1];
281 vev->valuator0 = ev->axis_data[0];
288 register XDeviceFocusChangeEvent *ev = (XDeviceFocusChangeEvent *) re;
297 fev->type = ev->type;
298 fev->window = ev->window;
299 fev->mode = ev->mode;
300 fev->detail = ev->detail;
301 fev->time = ev->time;
302 fev->deviceid = ev->deviceid;
307 register XDeviceMappingEvent *ev = (XDeviceMappingEvent *) re;
316 mev->type = ev->type;
317 mev->firstKeyCode = ev->first_keycode;
318 mev->request = ev->request;
319 mev->count = ev->count;
320 mev->time = ev->time;
321 mev->deviceid = ev->deviceid;
326 register XDeviceStateNotifyEvent *ev = (XDeviceStateNotifyEvent *) re;
329 XInputClass *any = (XInputClass *) & ev->data[0];
334 for (i = 0; i < ev->num_classes; i++) {
360 sev->type = ev->type;
361 sev->deviceid = ev->deviceid;
363 sev->time = ev->time;
366 any = (XInputClass *) & ev->data[0];
367 for (i = 0; i < ev->num_classes; i++) {
379 kev->deviceid = ev->deviceid;
395 bev->deviceid = ev->deviceid;
419 vev->deviceid = ev->deviceid;
443 register XChangeDeviceNotifyEvent *ev = (XChangeDeviceNotifyEvent *) re;
452 cev->type = ev->type;
453 cev->request = ev->request;
454 cev->time = ev->time;
455 cev->deviceid = ev->deviceid;
468 XDeviceHierarchyChangedEvent *ev =
477 dhcev->type = ev->type;
478 dhcev->time = ev->time;