Anyone can have the source! I had given it to someone a while back for a similar integration task. It's all in CPP, is Windows specific (obviously) was developed under VS6 though I'm sure it'll work under any later version.
One update I always fancied was to put my own wrapper around it which would make the program very useful... For example:
Define a list of games/apps that the utility should be aware of. Each time one of the games/apps on the list is started, the util would apply a set of keyboard rules that the user configured when the game was added.
I couldn't really think what other rules there would be apart from disabling the Windows key but I'm sure other people have other ideas!!
If there's enough interest I don't see why I couldn't do it.