[vlc-devel] [VLC 3.x v2 09/11] macosx: SPMediaKeyTap: Use correct define
Marvin Scholz
epirat07 at gmail.com
Fri Apr 23 01:19:36 UTC 2021
Use the proper define from IOLLEvent.h instead of a magic value.
---
modules/gui/macosx/SPMediaKeyTap.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/macosx/SPMediaKeyTap.h b/modules/gui/macosx/SPMediaKeyTap.h
index 66aba1b50e..b8cb8b5780 100644
--- a/modules/gui/macosx/SPMediaKeyTap.h
+++ b/modules/gui/macosx/SPMediaKeyTap.h
@@ -23,10 +23,11 @@
#import <Cocoa/Cocoa.h>
#import <IOKit/hidsystem/ev_keymap.h>
+#import <IOKit/hidsystem/IOLLEvent.h>
// http://overooped.com/post/2593597587/mediakeys
-#define SPSystemDefinedEventMediaKeys 8
+#define SPSystemDefinedEventMediaKeys NX_SUBTYPE_AUX_CONTROL_BUTTONS
@interface SPMediaKeyTap : NSObject
--
2.30.1
More information about the vlc-devel
mailing list