[PATCH 0/1] Allow negative attack/fade ramps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We're using ff-memless in Sailfish OS for vibrator / haptics support,
and I've noticed this annoying issue with the periodic force feedback effects
that declining attack ramps don't work with it properly.

I.e This kind of effect:

\
 \
  '-------------.
                 \
                  \

turns into something like this:

--+
  |
  +-------------.
                 \
                  \

It turned out to be quite simple fix to get declining attack ramps
and rising fades to behave linearly. Please check, comment, and apply
if seen fit.

Kalle Jokiniemi (1):
  input: ff-memless: Allow negative attack / fade ramps

 drivers/input/ff-memless.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux