DirectX SDK
Device Constants
This section is a reference for constants used to interpret data for keys, buttons, and axes.
Keyboard Device Constants
DirectInput and Japanese Keyboards
Mouse Device Constants
Joystick Device Constants