Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Enable some events which had been disabled before.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
NSEventFilter | 2.9 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
eventMask | Which events to enable. | 0 |
Returns OK on success.
NSLeftMouseDownMask | 2 |
NSLeftMouseUpMask | 4 |
NSRightMouseDownMask | 8 |
NSRightMouseUpMask | 16 |
NSMouseMovedMask | 32 |
NSLeftMouseDraggedMask | 64 |
NSRightMouseDraggedMask | 128 |
NSKeyDownMask | 1024 |
NSKeyUpMask | 2048 |
NSFlagsChangedMask | 4096 |
NSScrollWheelMask | 4194304 |
NSTabletPointMask | 8388608 |
NSTabletProximityMask | 16777216 |
NSOtherMouseDownMask | 33554432 |
NSOtherMouseUpMask | 67108864 |
NSOtherMouseDraggedMask | 134217728 |
Enable scroll wheel events:
MBS( "NSEventFilter.DisableEvents"; 4194304 )
Enable all right mouse events:
MBS( "NSEventFilter.DisableEvents"; 8+16+128 )
This function checks for a license.
Created 18th August 2014, last changed 10th August 2020