swift
Static Public Member Functions | List of all members
swift::input::CMacOSInputUtils Class Reference

Common MacOS input utilities. More...

Static Public Member Functions

static bool hasAccess ()
 Check OS permission for input monitoring access.
 
static bool requestAccess ()
 Request OS permission for input monitoring access.
 
static CFMutableDictionaryRef createDeviceMatchingDictionary (UInt32 usagePage, UInt32 usage)
 Creates a new device matching dict using usagePage and usage.
 

Detailed Description

Common MacOS input utilities.

Definition at line 14 of file macosinpututils.h.


The documentation for this class was generated from the following files: