update macos defines for older macs and newer ones

This commit is contained in:
CrackedPixel 2026-02-20 20:30:59 -06:00
parent cb60442fa9
commit 87918a21b9

View File

@ -118,6 +118,7 @@ extern "C" {
#if defined(__APPLE__) #if defined(__APPLE__)
// older macs (unsupported?) are missing these // older macs (unsupported?) are missing these
#include <IOKit/hid/IOHIDUsageTables.h>
#ifndef kHIDUsage_Button_5 #ifndef kHIDUsage_Button_5
#define kHIDUsage_Button_5 0x05 #define kHIDUsage_Button_5 0x05
#endif #endif