NSTouchMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTouchMBS class.

Touch Types

NSTouchMBS.TouchTypeDirect = 0

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 23.5
One of the touch type constants.

A touch resulting from direct contact with the screen.

NSTouchMBS.TouchTypeIndirect = 1

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 23.5
One of the touch type constants.

A touch that doesn’t result from contact with the screen.
Indirect touches are generated by touch input devices that are separate from the screen. For example, the trackpad of an Apple TV remote generates indirect touches.

NSTouchMBS.TouchTypeIndirectPointer = 3

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 23.5
One of the touch type constants.

A touch resulting from a button-based, indirect input device that describes the input sequence from button press to button release.

NSTouchMBS.TouchTypePencil = 2

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 23.5
One of the touch type constants.

A touch from Apple Pencil.
A pencil touch occurs when Apple Pencil interacts with the device’s screen.

NSTouchMBS.TouchTypeStylus = 2

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 23.5
One of the touch type constants.

A touch from a stylus.

The items on this page are in the following plugins: MBS MacBase Plugin.


💬 Ask a question or report a problem