Lines Matching full:condition

162 	iforce_dump_packet(iforce, "condition", FF_CMD_CONDITION, data);  in make_condition_modifier()
178 * Analyse the changes in an effect, and tell if we need to send an condition
195 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier()
196 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier()
197 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier()
198 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier()
199 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier()
200 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier()
463 * Upload an condition effect. Those are for example friction, inertia, springs...
484 effect->u.condition[0].right_saturation, in iforce_upload_condition()
485 effect->u.condition[0].left_saturation, in iforce_upload_condition()
486 effect->u.condition[0].right_coeff, in iforce_upload_condition()
487 effect->u.condition[0].left_coeff, in iforce_upload_condition()
488 effect->u.condition[0].deadband, in iforce_upload_condition()
489 effect->u.condition[0].center); in iforce_upload_condition()
496 effect->u.condition[1].right_saturation, in iforce_upload_condition()
497 effect->u.condition[1].left_saturation, in iforce_upload_condition()
498 effect->u.condition[1].right_coeff, in iforce_upload_condition()
499 effect->u.condition[1].left_coeff, in iforce_upload_condition()
500 effect->u.condition[1].deadband, in iforce_upload_condition()
501 effect->u.condition[1].center); in iforce_upload_condition()