Re: [PATCH v4 01/24] input: Add ff-memless-next module
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2014-05-14 18:14:09
Also in:
lkml
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2014-05-14 18:14:09
Also in:
lkml
On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote:
+ +/** input_ff_create_mlnx() - Register a device within ff-memless-next and + * the kernel force feedback system + * @dev: Pointer to the struct input_dev associated with the device. + * @data: Any device-specific data that shall be passed to the callback. + * function called by ff-memless-next when a force feedback action + * shall be performed. + * @control_effect: Pointer to the callback function. + * @update_date: Delay in milliseconds between two recalculations of periodic + * effects, ramp effects and envelopes. Note that this value will + * never be lower than (CONFIG_HZ / 1000) + 1 regardless of the + * value specified here. This is not a "hard" rate limiter. + * Userspace still can submit effects at a rate faster than + * this value.
The update rate change seems useful whether we use new ff implementation or enhance the old one but I would prefer having a separate call to control it. Thanks. -- Dmitry