Vitaliy Margolen : dinput: Use dinput device as a base class for keyboard, mouse and joystick.