linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IS_INPUT_APPLICATION and tablets
@ 2009-05-20 21:30 Stéphane Chatty
  2009-05-21  8:42 ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Stéphane Chatty @ 2009-05-20 21:30 UTC (permalink / raw)
  To: Jiri Kosina, jirislaby; +Cc: Greg KH, linux-input

Dear Jiris, dear Greg,

I just saw a message in the linux-input ml about a USB tablet that is  
not registered in the input layer. Someone proposed that there might  
be no useful application in the HID report descriptors.

There is an other possibility: the IS_INPUT_APPLICATION in hid.h  
might fail to capture a legitimate application. I am currently  
working on a HID driver for a multitouch surface by Stantum that has  
application usage 0x000d0004 (Digitizer / Touchscreen), and I had to  
change IS_INPUT_APPLICATION to have it registered in the input layer.  
The N-Trig surface is registered only because it declares two  
application collections: a Pen and a Touchscreen.

The comment that accompanies the definition of the macro looks very  
old. Is there another reason why the definition of input applications  
is so restrictive? I had in mind to add the range  
0x000d0002-0x000d0006 at least. Is there any contraindication to this?

St.


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

end of thread, other threads:[~2009-05-21 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20 21:30 IS_INPUT_APPLICATION and tablets Stéphane Chatty
2009-05-21  8:42 ` Jiri Kosina
2009-05-21  8:46   ` Rafi Rubin
2009-05-21  9:05     ` Jiri Kosina
2009-05-21 11:28       ` Rafi Rubin

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