docs.unity3d.com
    Show / Hide Table of Contents

    Enum PenButton

    Enumeration of buttons on a Pen.

    Namespace: UnityEngine.InputSystem
    Syntax
    public enum PenButton : int

    Fields

    Name Description Value
    Barrel1

    Synonym for BarrelFirst.

    Barrel2

    Synonym for BarrelSecond.

    Barrel3

    Synonym for BarrelThird.

    Barrel4

    Synonym for BarrelFourth.

    Tip

    Button at the tip of a pen.

    0
    Eraser

    Button located end of pen opposite to Tip.

    1
    BarrelFirst

    First button on the side of the pen.

    2
    BarrelSecond

    Second button on the side of the pen.

    3
    InRange

    Artificial button that indicates whether the pen is in detection range or not.

    4
    BarrelThird

    Third button on the side of the pen.

    5
    BarrelFourth

    Fourth button on the side of the pen.

    6
    In This Article
    • Fields
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023