From: Henrik Rydberg <rydberg@euromail.se>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Peter Hutterer <peter.hutterer@who-t.net>,
Jiri Kosina <jkosina@suse.cz>, Ping Cheng <pingc@wacom.com>,
Chris Bagwell <chris@cnpbagwell.com>,
Chase Douglas <chase.douglas@canonical.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC v2] input: Introduce device information ioctl
Date: Thu, 16 Dec 2010 14:57:41 +0100 [thread overview]
Message-ID: <4D0A1AD5.1070200@euromail.se> (raw)
In-Reply-To: <20101216004358.GA22066@core.coreip.homeip.net>
>>> /*
>>> + * Device properties and quirks
>>> + */
>>> +
>>> +#define INPUT_PROP_POINTER 0x00 /* needs a pointer */
>>> +#define INPUT_PROP_DIRECT 0x01 /* direct object manipulation */
>>
>> fwiw, I think the common term for these is "direct input devices", at least
>> that's how a lot of the research literature refers to them. Might be good to
>> use the same term.
>>
>> either way, not sure about this one. I've worked with devices that were
>> indirect by nature but used directly. e.g. the magic touchpad could quite
>> easily be used as direct input device with an top-down projector. the
>> decision to use it as an indirect device is a UI decision.
>> Likewise, some mountable direct-touch touchscreens can be used indirectly if
>> the touchscreen isn't mounted straight on the display. This is very much a
>> setup-specific property and I'm not sure about the value of this
>> information.
>
> All of these "props" would have no reflection on the event stream
> generated by the device, and exist solely for the benefits of userspace
> consumers to help them set up the device automatically and interpret the
> data appropriately. As such, if someone uses touchscreen as a tablet, I
> believe userspace should allow it, but at the price of manual setup.
>
> If we start seeing cuch devices we could consider EVIOCSPROPS so
> infrastructure (udev) could adjust the properties so that upper levels
> (X) can still use the data to set up devices properly.
>
> What do you think?
>
I am not 100% convinced. If other things like touchscreen orientation would fit
into that flow as well, then I'd say yes. But if there will always be a
difference between a default device setting and a system-wide device setting,
then it seems reasonable to handle this in userspace.
Henrik
next prev parent reply other threads:[~2010-12-16 13:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 19:20 [RFC v2] input: Introduce device information ioctl Henrik Rydberg
2010-12-15 21:16 ` Chase Douglas
2010-12-15 21:52 ` Dmitry Torokhov
2010-12-16 7:43 ` Henrik Rydberg
2010-12-16 0:29 ` Peter Hutterer
2010-12-16 0:43 ` Dmitry Torokhov
2010-12-16 13:57 ` Henrik Rydberg [this message]
2010-12-20 8:16 ` Peter Hutterer
2010-12-16 14:18 ` Henrik Rydberg
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=4D0A1AD5.1070200@euromail.se \
--to=rydberg@euromail.se \
--cc=chase.douglas@canonical.com \
--cc=chris@cnpbagwell.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peter.hutterer@who-t.net \
--cc=pingc@wacom.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).