• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Wrong touchIntent for Touch event on Windows 10

Engaged ,
Jan 05, 2019 Jan 05, 2019

Copy link to clipboard

Copied

After a windows update, AIR reports a touch event as a pen event:

[TouchEvent type="touchEnd" ... touchIntent="pen" isTouchPointCanceled=true]

I am on a machine with a touch screen only without stylus, tough according to Adobe docs:

If a touch event is generated by a finger or other non-stylus input method, or a stylus for which high-frequency motion tracking is not supported, this property reports the value: TouchEventIntent.UNKNOWN.

Also, event gets canceled:  isTouchPointCanceled=true

Reports that this touch input sequence was canceled by the operating system.

Touch events can be canceled for a variety of reasons, such as when a palm-generated touch is rejected because a pen stylus is in use. isTouchPointCanceled can only be true in a touchEnd event.

TOPICS
Performance issues

Views

287

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines