Re: [PATCH v2 1/4] Add ff-memless-next driver
flat view
From: Anssi Hannula <hidden>
Date: 2014-02-24 02:11:19
Also in:
lkml
24.02.2014 03:54, Michal Malý kirjoitti:
I forgot to comment on this:quoted
Stopped effects should still be able to be updated.Fair enough. I could not find a definitive answer to what is expected behavior in this case. As far as I can tell, there are following cases: - Effects with no duration and delay: they shall be updated right away. - Effects with delay: updated parameters shall be sent to the device at the correct time. - "Expired" effects with finite duration - ??? I assumed that effects with finite duration that have already finished playing cannot be updated because it does not seem to make much sense to do so.
"Expired" effects can always be played back again later - if that happens, the updated parameters will be in effect.
Shall such an effect be restarted when it is updated?
No.
Is there any guideline I should stick to I am not aware of?
Only "3.7 Dynamic update of an effect" of input/ff.txt. -- Anssi Hannula -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html