linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Young <sean@mess.org>
To: simon@mungewell.org
Cc: Jiri Kosina <jkosina@suse.cz>,
	Jussi Kivilinna <jussi.kivilinna@mbnet.fi>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH] HID: Add support for pressure sensitive buttons
Date: Tue, 15 Nov 2011 20:18:37 +0000	[thread overview]
Message-ID: <20111115201837.GA14365@pip.mess.org> (raw)
In-Reply-To: <345d84857ccc04c9a413afeba8e2fe8e.squirrel@host171.canaca.com>

On Tue, Nov 15, 2011 at 12:10:54PM -0500, simon@mungewell.org wrote:
> 
> >> +	report->field[0]->value[2] = 1; /* if this field is 0, then pressure
> >> +		buttons won't be reported as digital button presses any more */
> 
> Hi all,
> I may have missed earlier conversations around this subject, but is this
> something we really want? I mean if a pressure sensitive button reports
> both digital and analogue values at the HID level, shouldn't we pass both
> onto userland.

Maybe I could have worded it better, but in this patch here both digital
and analog values _are_ being passed to userland.

Since the hardware supports disabling this, there could be a sysfs knob
for this but I could not think of use case for it. Please let me know if
it is useful.


Sean

  reply	other threads:[~2011-11-15 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 20:58 [PATCH] HID: Add support for pressure sensitive buttons Sean Young
2011-11-15 14:27 ` Jiri Kosina
2011-11-15 17:10   ` simon
2011-11-15 20:18     ` Sean Young [this message]
2011-11-16 10:23   ` Sean Young

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=20111115201837.GA14365@pip.mess.org \
    --to=sean@mess.org \
    --cc=jkosina@suse.cz \
    --cc=jussi.kivilinna@mbnet.fi \
    --cc=linux-input@vger.kernel.org \
    --cc=simon@mungewell.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;
as well as URLs for NNTP newsgroup(s).