zdoom-macos-deps/patch/sdl2-no-gamecontroller+corehaptic.diff
2022-10-05 10:24:54 +03:00

11 lines
462 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1992,7 +1992,7 @@
#import <Foundation/Foundation.h>
#import <CoreHaptics/CoreHaptics.h>
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)