mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 22:00:00 +10:00
efi_builder: Add SPI trackpad support to Sequoia
This commit is contained in:
@@ -61,6 +61,7 @@ class Constants:
|
|||||||
self.apfs_zlib_v2_version: str = "12.6" # NoAVXFSCompressionTypeZlib (patched with AVXpel)
|
self.apfs_zlib_v2_version: str = "12.6" # NoAVXFSCompressionTypeZlib (patched with AVXpel)
|
||||||
self.multitouch_version: str = "1.0.0" # AppleUSBMultitouch
|
self.multitouch_version: str = "1.0.0" # AppleUSBMultitouch
|
||||||
self.topcase_version: str = "1.0.0" # AppleUSBTopCase
|
self.topcase_version: str = "1.0.0" # AppleUSBTopCase
|
||||||
|
self.topcase_inj_version: str = "1.0.0" # AppleTopCaseInjector
|
||||||
self.intel_82574l_version: str = "1.0.0" # Intel82574L
|
self.intel_82574l_version: str = "1.0.0" # Intel82574L
|
||||||
self.intel_8254x_version: str = "1.0.0" # AppleIntel8254XEthernet
|
self.intel_8254x_version: str = "1.0.0" # AppleIntel8254XEthernet
|
||||||
self.apple_usb_11_injector: str = "1.0.0" # AppleUSBUHCI/OHCI
|
self.apple_usb_11_injector: str = "1.0.0" # AppleUSBUHCI/OHCI
|
||||||
@@ -450,6 +451,10 @@ class Constants:
|
|||||||
def top_case_path(self):
|
def top_case_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Misc/AppleUSBTopCase-v{self.topcase_version}.zip")
|
return self.payload_kexts_path / Path(f"Misc/AppleUSBTopCase-v{self.topcase_version}.zip")
|
||||||
|
|
||||||
|
@property
|
||||||
|
def top_case_inj_path(self):
|
||||||
|
return self.payload_kexts_path / Path(f"Misc/AppleTopCaseInjector-v{self.topcase_inj_version}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def t1_key_store_path(self):
|
def t1_key_store_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Misc/AppleKeyStore-v{self.t1_key_store_version}.zip")
|
return self.payload_kexts_path / Path(f"Misc/AppleKeyStore-v{self.t1_key_store_version}.zip")
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ xw
|
|||||||
logging.info("- Enabling SPI-based top case support")
|
logging.info("- Enabling SPI-based top case support")
|
||||||
support.BuildSupport(self.model, self.constants, self.config).enable_kext("AppleHSSPISupport.kext", self.constants.apple_spi_version, self.constants.apple_spi_path)
|
support.BuildSupport(self.model, self.constants, self.config).enable_kext("AppleHSSPISupport.kext", self.constants.apple_spi_version, self.constants.apple_spi_path)
|
||||||
support.BuildSupport(self.model, self.constants, self.config).enable_kext("AppleHSSPIHIDDriver.kext", self.constants.apple_spi_hid_version, self.constants.apple_spi_hid_path)
|
support.BuildSupport(self.model, self.constants, self.config).enable_kext("AppleHSSPIHIDDriver.kext", self.constants.apple_spi_hid_version, self.constants.apple_spi_hid_path)
|
||||||
|
support.BuildSupport(self.model, self.constants, self.config).enable_kext("AppleTopCaseInjector.kext", self.constants.topcase_inj_version, self.constants.top_case_inj_path)
|
||||||
|
|
||||||
|
|
||||||
#On-device probing
|
#On-device probing
|
||||||
|
|||||||
@@ -1373,6 +1373,24 @@
|
|||||||
<key>PlistPath</key>
|
<key>PlistPath</key>
|
||||||
<string>Contents/Info.plist</string>
|
<string>Contents/Info.plist</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>Arch</key>
|
||||||
|
<string>x86_64</string>
|
||||||
|
<key>BundlePath</key>
|
||||||
|
<string>AppleTopCaseInjector.kext</string>
|
||||||
|
<key>Comment</key>
|
||||||
|
<string>AppleTopCaseInjector - SPI</string>
|
||||||
|
<key>Enabled</key>
|
||||||
|
<false/>
|
||||||
|
<key>ExecutablePath</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MaxKernel</key>
|
||||||
|
<string></string>
|
||||||
|
<key>MinKernel</key>
|
||||||
|
<string>24.0.0</string>
|
||||||
|
<key>PlistPath</key>
|
||||||
|
<string>Contents/Info.plist</string>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>Arch</key>
|
<key>Arch</key>
|
||||||
<string>x86_64</string>
|
<string>x86_64</string>
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user