From: Michal MalĂ˝ Date: Tue, 21 Jul 2015 16:33:15 +0000 (+0200) Subject: Trigger an update when a playing effect is updated. X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=aff93766a6e122a8cf1384e182dbb1963eed036d;p=KLGD_FF_plugin.git Trigger an update when a playing effect is updated. --- diff --git a/klgd_ff_plugin.c b/klgd_ff_plugin.c index 51c3fac..6ba6fc8 100644 --- a/klgd_ff_plugin.c +++ b/klgd_ff_plugin.c @@ -357,6 +357,7 @@ static int ffpl_upload_rq(struct input_dev *dev, struct ff_effect *effect, struc } else { eff->replace = false; eff->change = FFPL_TO_UPDATE; + eff->trigger = FFPL_TRIG_NOW; } } else eff->change = FFPL_TO_UPLOAD;