30#include <Carbon/Carbon.h>
34#define GL_SILENCE_DEPRECATION
37#import <Cocoa/Cocoa.h>
45#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
46 #define NSBitmapFormatAlphaNonpremultiplied NSAlphaNonpremultipliedBitmapFormat
47 #define NSEventMaskAny NSAnyEventMask
48 #define NSEventMaskKeyUp NSKeyUpMask
49 #define NSEventModifierFlagCapsLock NSAlphaShiftKeyMask
50 #define NSEventModifierFlagCommand NSCommandKeyMask
51 #define NSEventModifierFlagControl NSControlKeyMask
52 #define NSEventModifierFlagDeviceIndependentFlagsMask NSDeviceIndependentModifierFlagsMask
53 #define NSEventModifierFlagOption NSAlternateKeyMask
54 #define NSEventModifierFlagShift NSShiftKeyMask
55 #define NSEventTypeApplicationDefined NSApplicationDefined
56 #define NSWindowStyleMaskBorderless NSBorderlessWindowMask
57 #define NSWindowStyleMaskClosable NSClosableWindowMask
58 #define NSWindowStyleMaskMiniaturizable NSMiniaturizableWindowMask
59 #define NSWindowStyleMaskResizable NSResizableWindowMask
60 #define NSWindowStyleMaskTitled NSTitledWindowMask
89#define _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL)
90#define _glfw_dlclose(handle) dlclose(handle)
91#define _glfw_dlsym(handle, name) dlsym(handle, name)
93#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS ns
94#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS ns
95#define _GLFW_PLATFORM_LIBRARY_TIMER_STATE _GLFWtimerNS ns
96#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorNS ns
97#define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorNS ns
100#define kTISPropertyUnicodeKeyLayoutData _glfw.ns.tis.kPropertyUnicodeKeyLayoutData
102#define TISCopyCurrentKeyboardLayoutInputSource _glfw.ns.tis.CopyCurrentKeyboardLayoutInputSource
103typedef void* (*PFN_TISGetInputSourceProperty)(TISInputSourceRef,CFStringRef);
104#define TISGetInputSourceProperty _glfw.ns.tis.GetInputSourceProperty
106#define LMGetKbdType _glfw.ns.tis.GetKbdType
#define APIENTRY
Compiler- and platform-specific preprocessor work.
unsigned __int64 uint64_t
TISInputSourceRef inputSource
struct _GLFWlibraryNS::@15 tis
PFN_TISCopyCurrentKeyboardLayoutInputSource CopyCurrentKeyboardLayoutInputSource
IOHIDManagerRef hidManager
short int scancodes[GLFW_KEY_LAST+1]
_GLFWwindow * disabledCursorWindow
PFN_LMGetKbdType GetKbdType
char keynames[GLFW_KEY_LAST+1][17]
CFStringRef kPropertyUnicodeKeyLayoutData
PFN_TISGetInputSourceProperty GetInputSourceProperty
CGEventSourceRef eventSource
double fallbackRefreshRate
CGDirectDisplayID displayID
CGDisplayModeRef previousMode
VkMacOSSurfaceCreateFlagsMVK flags