Lines Matching defs:action
1015 mousestatus_t action0; /* original mouse action */
1016 mousestatus_t action; /* interim buffer */
1017 mousestatus_t action2; /* mapped action */
1049 bzero(&action, sizeof(action));
1091 if (r_timeout() && r_statetrans(&action0, &action, A_TIMEOUT)) {
1094 action.flags, action.button, action.obutton);
1128 action.flags, action.button, action.obutton);
1131 action.flags, action.button, action.obutton);
1164 r_statetrans(&action0, &action,
1167 debug("flags:%08x buttons:%08x obuttons:%08x", action.flags,
1168 action.button, action.obutton);
1172 flags |= action.obutton ^ action.button;
1173 action.flags = flags;
1175 if (flags) { /* handler detected action */
1176 r_map(&action, &action2);
1241 if ((flags & MOUSE_POSCHANGED) == 0 || action.dz || action2.dz)
1322 if ((rodent.zmap[0] > 0) && (action.dz != 0)) {
1323 action.obutton = action.button;
1324 action.dx = action.dy = action.dz = 0;
1325 r_map(&action, &action2);
2265 /* `tapping' action */
3243 return (0); /* invalid code, no action */
3309 return (0); /* invalid code, no action */