How to fix hackintosh trackpad not working after sleep.

Recently, I found that trackpad is not working after sleep in Ventura, so I asked Google for help, and people in github said the following method can help, I tried it and  it works for me. So I wanna share the method here.

First, change the wakedelay to 1000 in /efi/boot/oc/Kexts/VoodooPS2Controller.kext/Contents/Info.plist

Second, change the wakedelay in /efi/boot/oc/Kexts/VoodooPS2Controller.kext/Contents/VoodooPS2Trackpad.kext/Contents/Info.plist to 10.