From: David Herrmann <dh.herrmann@gmail.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: Roderick Colenbrander <thunderbird2k@gmail.com>,
linux-input <linux-input@vger.kernel.org>
Subject: Re: Handling of non-positional data through evdev
Date: Wed, 16 Mar 2016 16:26:20 +0100 [thread overview]
Message-ID: <CANq1E4TCTzZomCCWeSqsfmLM93ZVBwASgdy48bprddOtmBwhRg@mail.gmail.com> (raw)
In-Reply-To: <1458141032.29084.0.camel@hadess.net>
Hi
On Wed, Mar 16, 2016 at 4:10 PM, Bastien Nocera <hadess@hadess.net> wrote:
> On Tue, 2016-03-15 at 17:17 -0700, Roderick Colenbrander wrote:
>> Hi Bastien,
>>
>> Thanks for providing this suggestion. I can see this approach work
>> for
>> situations like screen rotation on tablets. The device I'm involved
>> with is an input device, which needs a high poll rate for
>> acceleration
>> / velocity and needs to be paired with the button / axes data. Evdev
>> would be most appropriate.
>
> So more like a Wiimote than a builtin sensor. What will consume events
> in user-space? A specialised application?
I really think evdev is the right place to put any of those devices.
The real problem is that the current set of ABS types is very limited
and strongly overloaded. We didn't do this for other types, but
somehow ABS turned out that way.
In general, Dmitry was ok with introducing new ABS types, properly
representing those types. I sent an RFC some years ago, which also
introduces gyro and accelerometer types (see patch #4):
https://lists.freedesktop.org/archives/input-tools/2013-December/000612.html
The problem is, however, that the current ABS_* namespace is
exhausted. That is, we have to introduce some new way to add new ABS
types (the series introduced ABS2 for that). No-one continued that
effort so far, so we are stuck with the current ABS types. Feel free
to pick this up. It might be a lengthy effort, though. You might be
better off doing it the wiimote way: pick you ABS types and make
user-space recognize them depending on the device name/etc.
Thanks
David
next prev parent reply other threads:[~2016-03-16 15:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 19:26 Handling of non-positional data through evdev Roderick Colenbrander
2016-03-15 20:07 ` Benjamin Tissoires
2016-03-15 21:09 ` Roderick Colenbrander
2016-03-15 22:59 ` Bastien Nocera
2016-03-16 0:17 ` Roderick Colenbrander
2016-03-16 15:10 ` Bastien Nocera
2016-03-16 15:26 ` David Herrmann [this message]
2016-03-16 19:00 ` Roderick Colenbrander
2016-03-17 9:27 ` David Herrmann
2016-03-16 19:09 ` Clément VUCHENER
2016-03-16 20:32 ` Roderick Colenbrander
2016-03-16 22:51 ` Clément VUCHENER
2016-03-16 18:39 ` Roderick Colenbrander
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=CANq1E4TCTzZomCCWeSqsfmLM93ZVBwASgdy48bprddOtmBwhRg@mail.gmail.com \
--to=dh.herrmann@gmail.com \
--cc=hadess@hadess.net \
--cc=linux-input@vger.kernel.org \
--cc=thunderbird2k@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).