linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ABS_PRESSURE and 0 ranges
@ 2012-10-25 12:59 Rolf Eike Beer
  2012-10-25 18:34 ` Dmitry Torokhov
  0 siblings, 1 reply; 5+ messages in thread
From: Rolf Eike Beer @ 2012-10-25 12:59 UTC (permalink / raw)
  To: linux-input

Hi all,

as I found out the hard way tslib does the detection if a touchscreen has been 
"clicked" if the kernel driver says it does not support ABS_PRESSURE. But when 
the kernel says it can do ABS_PRESSURE tslib will not do it's emulation and 
just pass on whatever pressure value the kernel sends.

So far, so good. Sadly there are some drivers that do:

input_set_abs_params(dev, ABS_PRESSURE, 0, 0, 0, 0);

Guess what happens: no clicks at all. The question I have is: does the above 
line make any sense to be in a kernel driver at all? Or is that some voodoo 
that must be there and it's all tslib fault?

Now that I know where the problem is coming from the problem is easily 
fixable, I'm just wondering which patch to make.

Greetings,

Eike

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-25 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 12:59 ABS_PRESSURE and 0 ranges Rolf Eike Beer
2012-10-25 18:34 ` Dmitry Torokhov
2012-10-25 20:11   ` Rolf Eike Beer
2012-10-25 20:51     ` Dmitry Torokhov
2012-10-25 21:45       ` Rolf Eike Beer

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).