I think he means to disable it temporarily, for gaming and stuff. The G74sx has an fn+key to disabletrackpad.
That should be pretty easy, provided that fn+key generates a scan code that the keyboard driver sees. Install the debug version of my VoodooPS2Controller.kext, then go into Console to look at system.log. Then press the fn+key that you want to disable the trackpad... if it generates a scan code, you will see something like:
Code:
ApplePS2Keyboard: sending key e037=80
The part on the left side of '=' is the scan code of the key you pressed. Note: it will be something different than e037 (otherwise it would already be working). The right side is the 'adb' code it maps to (adbcode 80 is a deadkey). For this one we don't care what adb code it maps to.
Once you have the scan code of the key, you want to map that scan code to 'e037'. To do that, make an entry in the "Custom PS2 Map" section of the keyboard's Info.plist. For example, if your scan code was 'e099', you would make an entry like:
Code:
<string>e099=e037</string>
Be careful when you're editing plist files. If you don't really understand xml, you should probably be using a plist editor. Obviously, if you're using a plist editor (like xcode), then you don't have to worry about the <string></string> tags.
After successfully making this change and re-installing your kext, reboot. Then again, look at the debug output as you press the key. You should see something like:
Code:
ApplePS2Keyboard: sending key e099=e037, e037=80
This shows you the mapping taking place, e099 to e037 and e037 to deadkey. Internally, though, scancode e037 toggles the disable/enable of the trackpad (and sets/clears the LED if your trackpad has one).
There is more info on the wiki at my github project page for VoodooPS2Controller.
Also, there is also an area in the upper left corner of the trackpad, that when double clicked, will disable the trackpad. The location of that corner is controlled by the DisableZone* config items in the trackpad's Info.plist.