Lines Matching defs:event
70 touchpad_movement event;
116 event.zPressure = (packet[1] & 0xf0) | ((packet[4] & 0xf0) >> 4);
118 cookie->previousZ = event.zPressure;
120 cookie->x = event.xPosition = ((packet[1] & 0xf) << 8) | packet[2];
121 cookie->y = event.yPosition = ((packet[4] & 0xf) << 8) | packet[5];
125 " z %d\n", event.buttons, event.xPosition, event.yPosition,
126 event.zPressure);
133 event.xPosition = cookie->x += 5 * (int8)packet[1];
134 event.yPosition = cookie->y += 5 * (int8)packet[2];
136 event.xPosition = cookie->x += (int8)packet[1];
137 event.yPosition = cookie->y += (int8)packet[2];
148 event.buttons = 0;
149 event.fingerWidth = cookie->fingers == 1 ? 4 :0;
151 *_event = event;
636 TRACE("ELANTECH: MS_READ get event\n");
642 read.event = MS_READ_TOUCHPAD;