]> Devoid-pointer.net GitWeb - KLGD_FF_plugin.git/commitdiff
Trigger an update when a playing effect is updated.
authorMichal Malý <madcatxster@devoid-pointer.net>
Tue, 21 Jul 2015 16:33:15 +0000 (18:33 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Tue, 21 Jul 2015 16:33:15 +0000 (18:33 +0200)
klgd_ff_plugin.c

index 51c3fac318001458678ceda554354af440e95860..6ba6fc8fd57e08f87407bff7a00ce3074c721d4a 100644 (file)
@@ -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;