Diex3: DirectInput Nonexclusive Keyboard Input Sample

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

This DirectInput sample demonstrates an application which receives keyboard data in nonexclusive 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; getdevicestate; invalidaterect; loadcursor; loadicon; lstrcmp; lstrcpy; lstrlen; makeintresource; messagebox; peekmessage; postquitmessage; registerclass; release; setcooperativelevel; setdataformat; showwindow; sleep; succeeded; translatemessage; unacquire; waitmessage; winmain; wsprintf