VControl comes with four demos that demonstrate how to use the API and which give a basic example of a configuration file.
To build the demos, follow these directions, based on system:
From the VControl top level directory, simply type
make, and it should build a libvcontrol.a in
lib and the four executables in bin. The
test.cfg sample configuration file should also be copied
there.
Go to the msvc directory and open
VControl.dsw in Visual Studio. This workspace has four
projects (one for each demo, naturally). Ensure that you've got your
SDL directories properly set in Visual Studio (if you've been doing
SDL development before, this should be done already) and perform a
batch build of the demos you want. They will go into the
bin directory, along with a copy of the
test.cfg sample configuration file.
The available demos are as follows: