From: el es <el.es.cr@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: HID device calibration - how to override mapping?
Date: Fri, 13 Jan 2012 17:09:01 +0000 (UTC) [thread overview]
Message-ID: <loom.20120113T175122-168@post.gmane.org> (raw)
In-Reply-To: 4F1051CA.4090007@gmail.com
Enrico Mattea <ocirne94 <at> gmail.com> writes:
(sorry for excessive trimmings, but gmane web i/f made me do it)
>
> Hello all,
> [...]
> [...] while the clutch pedal sends 0 to -32767 to +32767 to 0
> (from released (0) to halfway (-32767), then the value jumps to +32767,
> then decreases again to 0 when fully pressed).
released - halfway - pressed
0 - (-32767) <-> (32767) - 0
but does it happen in reverse order when releasing pedal ?
seems the interpretation of this is up to the application really,
but /if/ the -32767 to 32767 change happens all around the 'halfway'
spot, maybe it is (in the app. engine) interpreted as 'change'
and it's effect applied to 'car engine' not directly, but integrated
(time-integral function applied) first ?
(or if it is the /change/ here that matters , it actually
is a /time-derivative/ that actually applies to the simulation?)
>
> This obviously makes it impossible to properly calibrate the axis for
> anything, because of the "jump" at halfway and of the equality of min
> and max returned values.
I'd say, for the clutch simulation it's the /change-in-time/ that
matters, not the /exact/ value; so no 'static' calibration is
ever going to be relevant (bar maybe the device telling us when the
pedal is fully pressed or fully released - in case app is not tracking
it)
>
[...]
> Thank you very much in advance,
> Ocirne
>
el es
next prev parent reply other threads:[~2012-01-13 17:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-13 15:46 HID device calibration - how to override mapping? Enrico Mattea
2012-01-13 17:09 ` el es [this message]
2012-01-13 22:19 ` Enrico Mattea
2012-08-08 11:45 ` Tigran
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=loom.20120113T175122-168@post.gmane.org \
--to=el.es.cr@gmail.com \
--cc=linux-kernel@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