[url removed, login to view]
Alter the "Event" section of this code to listen for all keyboard/mouse events instead of specifying one. It should return the event that fired as well as the information attached (keycode or x,y).
Performing an AddEvent() for all possible combinations is NOT a valid solution. You should make AddAllEvents() and have a single hook.