struct klgd_plugin_private *priv = self->private;
struct ffpl_effect *eff = &priv->effects[effect_id];
- printk(KERN_NOTICE "KLGDFF: RQ erase\n");
+ printk(KERN_NOTICE "KLGDFF: RQ erase (effect %d)\n", effect_id);
klgd_lock_plugins(self->plugins_lock);
eff->change = FFPL_TO_ERASE;
struct klgd_plugin_private *priv = self->private;
struct ffpl_effect *eff = &priv->effects[effect->id];
- printk(KERN_NOTICE "KLGDFF: RQ upload\n");
+ printk(KERN_NOTICE "KLGDFF: RQ upload (effect %d)\n", effect->id);
if (!ffpl_is_effect_valid(effect))
return -EINVAL;
}
/* Handle combined constant force effect here */
+ printk(KERN_NOTICE "KLGDFF: Combined CF: ");
ret = ffpl_handle_state_change(priv, *s, &priv->combined_effect_cf, now);
if (ret) {
printk(KERN_WARNING "KLGDFF: Cannot get command stream for combined constant force effect\n");
goto out;
}
+ printk(KERN_NOTICE "KLGDFF: Combined Rumble: ");
ret = ffpl_handle_state_change(priv, *s, &priv->combined_effect_rumble, now);
if (ret) {
printk(KERN_WARNING "KLGDFF: Cannot get command stream for combined rumble effect\n");