Completely OT, but this would be an awesome way to make a digital theremin on the N900 (one finger for screen pressure, the other for IR distance).