Then press alt+f1 to open to terminal and type sh /sdcard/t.txt and enter. Then type rmmod psmouse && modprobe psmouse and see if pinch to zoom works on your touchpad. If it doesn't work then restart the zygote with "stop; start" command. If it still doesn't work, you'll need to create an idc file.
#!/system/bin/sh
cd /system/usr/idc
echo "# touch.deviceType = touchScreen | touchPad | pointer | default
touch.deviceType = touchScreen
# orientationAware
# touch.orientationAware = 0 or 1
touch.orientationAware = 0
# gestureMode
# Definition: touch.gestureMode = pointer | spots | default
touch.gestureMode = pointer
# Definition: device.internal = 0 | 1
device.internal = 1" | tee SynPS_2_Synaptics_TouchPad.idc ETPS_2_Elantech_Touchpad.idc AlpsPS_2_ALPS_GlidePoint.idc AlpsPS_2_ALPS_DualPoint_TouchPad.idc