PDA

View Full Version : keybd_event, DirectX and Max Payne


Guest
11-07-2001, 12:39 AM
I have a device like the MS Strategic commander which is handled by a normal application.
I post key events and mouse events with keybd_event and mouse_event function.
Max Payne reads input with DirectInput which ignores keys sent with keybd_event on windows 98.
Is there a way to have Max Payne (and other games) recognize such keys.
I know that it is (almost?) impossible to send keys to DirectInput.
The MS strategic commander poses as mouse and keyboard driver to achieve that.