Re: [PATCH 1/2] Input: Document and check on implicitly defined FF_MAX_EFFECTS

2015-10-14 Thread Dmitry Torokhov
On Thu, Sep 17, 2015 at 07:29:47PM +0200, Elias Vanderstuyft wrote: > There is an undocumented upper bound for the total number of ff effects: > FF_GAIN (= 96). > This can be found as follows: > - user: write(EV_FF, effect_id, iterations) > calls kernel: ff->playback(effect_id, ...): starts

[PATCH 1/2] Input: Document and check on implicitly defined FF_MAX_EFFECTS

2015-09-17 Thread Elias Vanderstuyft
There is an undocumented upper bound for the total number of ff effects: FF_GAIN (= 96). This can be found as follows: - user: write(EV_FF, effect_id, iterations) calls kernel: ff->playback(effect_id, ...): starts effect "effect_id" - user: write(EV_FF, FF_GAIN, gain) calls kernel: ff->