From: Dmitry Torokhov <dtor_core@ameritech.net>
To: linux-kernel@vger.kernel.org
Cc: emard@softhome.net, Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: force feedback envelope incomplete
Date: Sun, 16 Oct 2005 13:35:47 -0500 [thread overview]
Message-ID: <200510161335.48458.dtor_core@ameritech.net> (raw)
In-Reply-To: <20051015213953.GA27117@tink>
On Saturday 15 October 2005 16:39, emard@softhome.net wrote:
> HI
>
> Force feedback envelope struct in input.h
> for periodic events is incomplete.
>
> struct ff_envelope {
> __u16 attack_length; /* Duration of attack (ms) */
> __u16 attack_level; /* Level at beginning of attack */
> __u16 fade_length; /* Duration of fade (ms) */
> __u16 fade_level; /* Level at end of fade */
> };
>
> The envelope consists of:
> 1. Attack level (Level at beginning of attack)
> 2. Attack time
> 3. Sustain level (Level at end of attack and beginning of fade)
> 4. Sustain time
> 5. Fade level (Level at the end of fade)
> 6. Fade time
>
> If I want to implement proper envelope I propose something like this:
>
> struct ff_envelope {
> __u16 attack_length; /* Duration of attack (ms) */
> __u16 attack_level; /* Level at beginning of attack */
> __u16 sustain_length; /* Duration of sustain (ms) */
> __u16 sustain_level; /* Sustain Level at end of attack and beginning of fade */
> __u16 fade_length; /* Duration of fade (ms) */
> __u16 fade_level; /* Level at end of fade */
> };
You might want to talk to Vojtech about this (CC-ed).
--
Dmitry
next prev parent reply other threads:[~2005-10-16 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-15 21:39 force feedback envelope incomplete emard
2005-10-16 18:35 ` Dmitry Torokhov [this message]
2005-10-17 11:42 ` Vojtech Pavlik
2005-10-17 22:21 ` emard
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=200510161335.48458.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=emard@softhome.net \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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