You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also you can distinquish input type using metastate values like METASTATE_HAND and METASTATE_PEN.
How can I check whether stylus button is pressed inside onTouchEvent handler code? Is it possible?
Hi,
You can check it by comapring getMetaState() values. Value for stylus button pressed is 2560.
Activity