Creating an INF File

All minidrivers and OEM-defined joysticks should be installed using an INF file to provide all the necessary information to the system. An INF file describes a device installation in terms of the class of the device, the files that need to be copied, any compatible devices, any system resources the device requires, and changes to the registry. INF files for customizing the standard analog driver do not need to copy any files, state compatible devices, or specify system resources. The INF file can specify other actions, such as modifying the Autoexec.bat file, but this is not usually necessary for a joystick minidriver.

The INF file contains the elements described in the following topics:

Setting the Device Class

Selecting Source Files

Setting the Manufacturer-Specific Data

Setting Up LogConfig Entries

Setting Up AddReg Entries