zdoom-macos-deps/patch/sdl2-no-gamecontroller+corehaptic.diff

12 lines
462 B
Diff
Raw Normal View History

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2023-02-17 15:21:26 +00:00
@@ -2072,7 +2072,7 @@
#import <Foundation/Foundation.h>
#import <CoreHaptics/CoreHaptics.h>
2022-04-30 09:41:42 +00:00
int main() { return 0; }" HAVE_FRAMEWORK_COREHAPTICS)
- if(HAVE_FRAMEWORK_GAMECONTROLLER AND HAVE_FRAMEWORK_COREHAPTICS)
+ if(0)
# Only enable MFI if we also have CoreHaptics to ensure rumble works
set(SDL_JOYSTICK_MFI 1)
set(SDL_FRAMEWORK_GAMECONTROLLER 1)