Allow Trackpad gestures on MacBook4,1 and MacBook5,2

This commit is contained in:
Mykola Grymalyuk
2021-09-08 22:17:05 -06:00
parent 15e4650785
commit 600e71581c
5 changed files with 25 additions and 0 deletions
+1
View File
@@ -171,6 +171,7 @@ class BuildOpenCore:
("FeatureUnlock.kext", self.constants.featureunlock_version, self.constants.featureunlock_path, lambda: self.model in ModelArray.SidecarPatch),
("DebugEnhancer.kext", self.constants.debugenhancer_version, self.constants.debugenhancer_path, lambda: self.constants.kext_debug is True),
("latebloom.kext", self.constants.latebloom_version, self.constants.latebloom_path, lambda: self.model in ModelArray.PCIRaceCondition),
("AppleUSBTrackpad.kext", self.constants.apple_trackpad, self.constants.apple_trackpad_path, lambda: self.model in ["MacBook4,1", "MacBook5,2"]),
]:
self.enable_kext(name, version, path, check)
+4
View File
@@ -330,6 +330,10 @@ class Constants:
@property
def latebloom_path(self):
return self.payload_kexts_path / Path(f"Misc/latebloom-v{self.latebloom_version}.zip")
@property
def apple_trackpad_path(self):
return self.payload_kexts_path / Path(f"Misc/AppleUSBTrackpad-v{self.apple_trackpad}.zip")
@property
def plist_folder_path(self):