I'm trying to use my keyboard more for navigating and using apps rather than the trackpad for efficiency. It would also be nice to toggle the trackpad while I'm typing to prevent accidental touches.
Could probably write an app that uses quartz event taps to block any input. I think you should be able to distinguish between internal trackpad and external mouse using the public NSEvent properties, but worst case you can always cast to a CGEventRef and access private ones