Thread (5 messages) read the whole thread 5 messages, 3 authors, 2011-11-16

Re: [PATCH] HID: Add support for pressure sensitive buttons

From: Sean Young <sean@mess.org>
Date: 2011-11-15 20:27:37

On Tue, Nov 15, 2011 at 12:10:54PM -0500, simon@mungewell.org wrote:
quoted
quoted
+	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help