Skip to content

Expose Galaxy Note S-Pen touch information #353

Closed

Description

@waynew

I asked this question on Stack Overflow, but basically I want to have the Galaxy Note S-Pen event info available.

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.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions