Diex2: DirectInput Exclusive Mouse Input Sample

Click to open or copy the files for the Diex2 sample.

This DirectInput sample demonstrates an application which receives relative mouse data in exclusive mode via a game loop.

Building SDK Samples

This sample uses the following keywords:

acquire; appinit; beginpaint; complain; createdevice; createwindow; defwindowproc; destroywindow; diinit; directinputcreate; dispatchmessage; diterm; endpaint; ex_oneframe; ex_onpaint; ex_syncacquire; ex_wndproc; exttextout; failed; getactivewindow; getdevicestate; invalidaterect; isiconic; iswindow; loadcursor; loadicon; lstrcmp; lstrcpy; lstrlen; makeintresource; messagebox; peekmessage; postmessage; postquitmessage; registerclass; release; setcooperativelevel; setdataformat; showwindow; sleep; succeeded; translatemessage; unacquire; waitmessage; winmain; wsprintf