This sample is located in \Samples\DirectX\Dinput.
Description
Using the Sample
Key Project Files
Technologies Demonstrated
This sample shows how to use joysticks with the Microsoft® DirectDraw® sample.
This sample displays the same flashing image as the Direct Draw sample. Use your joystick to move the flashing square around the gray display area.
This class creates an instance of the DDrawFrame and adds the DDraw canvas.
DDrawCanvas.javaThis class draws the canvas onto a regular Java Canvas.
DDrawFrame.javaThis class creates a simple frame to contain the DDrawCanvas.