Platforms to show: All Mac Windows Linux Cross-Platform

NSHapticFeedbackManagerMBS class   New in 26.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacBase Plugin 26.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
An object that provides access to the haptic feedback management attributes on a system with a Force Touch trackpad.
Example
Var manager As NSHapticFeedbackManagerMBS
manager = NSHapticFeedbackManagerMBS.defaultPerformer
manager.performFeedbackPattern(NSHapticFeedbackManagerMBS.PatternGeneric, NSHapticFeedbackManagerMBS.PerformanceTimeNow)

Pattern

Constant Value Description
PatternAlignment 1 Alignment of any type: guides, best fit, etc...
PatternGeneric 0 when none of the other options apply.
PatternLevelChange 2 Changes in discrete pressure zones. Used by NSMultiLevelAcceleratorButtons.

Performance Time

Constant Value Description
PerformanceTimeDefault 0 Currently, NSHapticFeedbackPerformanceTimeDrawCompleted
PerformanceTimeDrawCompleted 2 Synchronize when the next cocoa screen drawing and layer rendering pass complete
PerformanceTimeNow 1 Perform immediately. Do not synchronize

This class has no subclasses.

Blog Entries

Release notes

  • Version 26.5
    • Added NSHapticFeedbackManagerMBS class.

Some examples using this class:


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


NSGroupTouchBarItemMBS   -   NSHelpManagerMBS


The biggest plugin in space...