Linux Input/HID development
 help / color / mirror / Atom feed
From: Kalle Jokiniemi <kalle.jokiniemi@jolla.com>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, Kalle Jokiniemi <kalle.jokiniemi@jolla.com>
Subject: [PATCH 0/1] Allow negative attack/fade ramps
Date: Thu, 27 Aug 2015 14:03:41 +0300	[thread overview]
Message-ID: <1440673422-12279-1-git-send-email-kalle.jokiniemi@jolla.com> (raw)

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


             reply	other threads:[~2015-08-27 11:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 11:03 Kalle Jokiniemi [this message]
2015-08-27 11:03 ` [PATCH 1/1] input: ff-memless: Allow negative attack / fade ramps Kalle Jokiniemi
2015-08-28 14:04   ` Kalle Jokiniemi
2015-08-28 14:41     ` Kalle Jokiniemi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1440673422-12279-1-git-send-email-kalle.jokiniemi@jolla.com \
    --to=kalle.jokiniemi@jolla.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox