UIEvent.ButtonMask Constants that indicate which input-device buttons are pressed. Declarationstruct ButtonMask TopicsCreating button masksinit(rawValue:)button(_:)Accessing button masksprimarysecondary RelationshipsConforms ToBitwiseCopyableEquatableExpressibleByArrayLiteralOptionSetRawRepresentableSendableSendableMetatypeSetAlgebra See AlsoGetting the button maskbuttonMask