PID_EFFECTS_MAX
if (max_effects > PID_EFFECTS_MAX)
max_effects = PID_EFFECTS_MAX;
struct pidff_effect effect[PID_EFFECTS_MAX];