Skip to content

Expose Galaxy Note S-Pen touch information #353

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions