update macos defines for older macs and newer ones
This commit is contained in:
parent
cb60442fa9
commit
87918a21b9
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user