I've made a small vb game and i need to bind a key/mousebutton to do something, for example show a scoretable.

I want to be able to detect if a user-specified keyboard key/mousebutton is beeing held down!

It has to work with wierd keyboard keys like: ¨'´][ (just like in FPS games where you've got the possibilty to bind +attack to any button/key)..

Please post ideas/code/advice! API or DirectInput?

Thanks in advance! Help is always appreaciated!