mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
Allow Trackpad gestures on MacBook4,1 and MacBook5,2
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
- Nvidia Tesla
|
||||
- AMD TeraScale 1
|
||||
- TeraScale 2 acceleration to be added in the future
|
||||
- Allow Trackpad gestures on MacBook4,1 and MacBook5,2
|
||||
- System Preferences will not report settings however
|
||||
|
||||
## 0.2.4
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -934,6 +934,24 @@
|
||||
<key>PlistPath</key>
|
||||
<string>Contents/Info.plist</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>Arch</key>
|
||||
<string>x86_64</string>
|
||||
<key>BundlePath</key>
|
||||
<string>AppleUSBTrackpad.kext</string>
|
||||
<key>Comment</key>
|
||||
<string>Fix legacy MacBook Trackpad</string>
|
||||
<key>Enabled</key>
|
||||
<false/>
|
||||
<key>ExecutablePath</key>
|
||||
<string>Contents/MacOS/AppleUSBTrackpad</string>
|
||||
<key>MaxKernel</key>
|
||||
<string></string>
|
||||
<key>MinKernel</key>
|
||||
<string>20.4.0</string>
|
||||
<key>PlistPath</key>
|
||||
<string>Contents/Info.plist</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>Block</key>
|
||||
<array/>
|
||||
|
||||
BIN
payloads/Kexts/Misc/AppleUSBTrackpad-v1.0.0.zip
Normal file
BIN
payloads/Kexts/Misc/AppleUSBTrackpad-v1.0.0.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user