Skip to contentSkip to conversation

RFC: touch event clarification

DISCUSSION Rafi Rubin 2 participants 2 messages Apr 19, 2010 – Apr 21, 2010 HID

lore
Share & tools
lore

Rafi Rubin

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dmitry: would you care to clarify the meaning of the basic touch events? It might also be helpful to add more comments to input.h or add something to the Documents directory.

My current understanding:
BTN_TOOL_FINGER: touch pad single finger BTN_TOOL_(DOUBLE|TRIPLE|QUAD)TAP: touch pad 2,3 and 4 fingers
BTN_TOUCH: touch screen single finger
BTN_[0-N]: not really for fingers.

Are the taps at all appropriate for touch screens? How should the wacom non-screen tablets be treated, should they act like touch pads both for absolute and relative modes?

Should there be any difference between pad and screen devices with respect to multitouch events (currently, I'm assuming not)?

Thanks,
Rafi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvMF48ACgkQwuRiAT9o60/5+ACg+JjfmgxYWNymySwDI9uTStaN XrEAn2B/ZiP5j6BZyQ7IvgIg1hc16IRh
=928b
-----END PGP SIGNATURE-----

#1 lore raw

Hi Rafi,

Quoted 7 lines

Dmitry: would you care to clarify the meaning of the basic touch events? It might also be helpful to add more comments to input.h or add something to the Documents directory.

My current understanding:
BTN_TOOL_FINGER: touch pad single finger

Correct.

Quoted 1 line

BTN_TOOL_(DOUBLE|TRIPLE|QUAD)TAP: touch pad 2,3 and 4 fingers

Tapping with more than one finger, These events are tailored to touchpads that can only report numberf or contacts but not discrete coordinates for every contact,

Quoted 1 line

BTN_TOUCH: touch screen single finger

Right.

Quoted 2 lines

BTN_[0-N]: not really for fingers.

Right, these are miscellaneous buttons.

Quoted 2 lines

Are the taps at all appropriate for touch screens?

I do not think tap makes sense for touchscreens, the act of touching should cause "select" or "action" event. Unlike other devices with touchscreens you do not need to track movement of a pointer, your finger ios a pointer and when you touch you mena to perform an action. At least this is the model I'd operate with.

Quoted 3 lines

How should the wacom
non-screen tablets be treated, should they act like touch pads both for absolute and relative modes?

Yes, since they are physically separate from treh screem tracking pointer makes sense for tablets.

Quoted 3 lines

Should there be any difference between pad and screen devices with respect to multitouch events (currently, I'm assuming not)?

Umm... if you are referring to gestures then I think they should exibit similar behavior.

Signature · 1 line
Dmitry