I have a Windows Media Center remote that windows recognizes as a keyboard. When I run a multi-monitor setup with Windows Media Center playing a video on one screen, the remote's input is directed to the active window along with the regular keyboard. So when I'm doing something with the other screen, Windows Media Center doesn't respond to the remote. So I thought I'd write a simple low level keyboard hook that traps all key events, determines which presses came from the remote, and redirects those to the open Media Center window.
The only problem is, I can't seem to find anything in the Windows API for this. Is there any way to determine the source of a keypress short of writing a driver?