This looks perfect for what I\'m trying to do. I need to stop mucking around with SendInput() and let someone else do it for me!
I found this keyboard hook code, which I\'m trying to slightly modify for my purposes: http://blogs.msdn.com/toub/archive/2006/05/03/589423.aspx
I\'m creating a custom keyboard layout. As the beginning step, I want to have the user press a key, have my keyboard hook intercept it, and output a different key of my choosing.