I want to write a program that will send a keyboard strokes to another program whenever i press a button on my sidewinder joystick. i'm not sure where to start. i need some help here. thx.
If 'another' program has a window use FindWindow to get handle of that window then use SendMessage WM_CHAR (or whatever) with that handle.
ok, let me make the problems clearer : how do i catch the joystick's events ? how do i do that while the focus is on another window ? thx.
there are a few functions in mmsystem for joysticks. look up the joySetCapture and joyGetPosEx functions in MSDN.
Ok man. i checked it. i think the problem is solved. thx.