Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
OSXMediaKeySupport.m File Reference
import "platform/OSXMediaKeySupport.h"
import <Cocoa/Cocoa.h>
import <IOKit/hidsystem/ev_keymap.h>
Include dependency graph for OSXMediaKeySupport.m:

Functions

int convertKeyIDToNXKeyType (KeyID id)
static KeyID convertNXKeyTypeToKeyID (uint32_t const type)
bool isMediaKeyEvent (CGEventRef event)
bool getMediaKeyEventInfo (CGEventRef event, KeyID *const keyId, bool *const down, bool *const isRepeat)
bool fakeNativeMediaKey (KeyID id)

Function Documentation

◆ convertKeyIDToNXKeyType()

int convertKeyIDToNXKeyType ( KeyID id)

◆ convertNXKeyTypeToKeyID()

KeyID convertNXKeyTypeToKeyID ( uint32_t const type)
static

◆ fakeNativeMediaKey()

bool fakeNativeMediaKey ( KeyID id)

◆ getMediaKeyEventInfo()

bool getMediaKeyEventInfo ( CGEventRef event,
KeyID *const keyId,
bool *const down,
bool *const isRepeat )

◆ isMediaKeyEvent()

bool isMediaKeyEvent ( CGEventRef event)