The way of touch finger and pen stylus report

2 messages, 2 authors, 2017-05-05 · open the first message on its own page

The way of touch finger and pen stylus report

From: 劉嘉駿 <hidden>
Date: 2017-05-05 07:30:37

I would like to write a touch driver for finger touch and pen stylus.
They have different definition on maximum range of X, Y, Pressure, 
additionally, pen have two buttons functionality that need to be reported.

So can driver register two input device to corresponding finger touch and
pen stylus?
Otherwise how single input device can map two different X, Y, Pressure
range.

Another thing is that pen stylus has two buttons which enumerate to
Eraser/Invert and Barrel as MS spec said.
Please refer to
https://msdn.microsoft.com/en-us/windows/hardware/commercialize/design/compo
nent-guidelines/required-hid-top-level-collections

My question is that how do buttons represents to key bit event? Any example?

Hi Benjamin,
	My device is hidi2c and finger / pen has described in descriptor.
	So does hid-multitouch module support it?

Thanks.

BR,
Scott 

Re: The way of touch finger and pen stylus report

From: Benjamin Tissoires <hidden>
Date: 2017-05-05 07:34:03

On Fri, May 5, 2017 at 9:31 AM, 劉嘉駿 [off-list ref] wrote:
Hi Benjamin,
        My device is hidi2c and finger / pen has described in descriptor.
        So does hid-multitouch module support it?
hid-multitouch should handle it properly as long as the device follows
MS' specification.

Cheers,
Benjamin
Thanks.

BR,
Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help