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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 15, 2011 at 12:10:54PM -0500, simon@xxxxxxxxxxxxx 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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux