For extra credit, this functionality should be usable both with stereo- and surround-type sources.

Now, for all I know, some student with too much time on his hands, has already sat down and banged out a program like what I'm describing.
What I would like to know is, has anyone heard of such functionality implemented yet?
Or if not, do you know if it would be very hard to make? (I do dabble in programming, but haven't taken a good look at the TrackIR SDK yet.)