*************************************************************************
LICENSE:

The software in this package is distributed under the following licenses:

GNU General Public License (GPL)
GNU Lesser General Public License (LGPL)

*************************************************************************

There are 3 packages included:

ICSharpCode.USBlib - A .Net Wrapper for libusb.
Note: I have made changes to the source from the official ICSharpCode.USBlib.

Ultimarc.Ultrastik - A .Net Class for the Ultimarc Ultrastik 360

setControls - A Sample program that has the Ultimarc.Ultrastik Class built in.

*************************************************************************
REQUIRMENTS

Windows:
.Net 2.0
libusb filter driver(http://sourceforge.net/project/showfiles.php?group_id=78138)
Note: If UltraMap 1.0.18 or higher is installed then you do not need
to install the libusb filter driver

Other Platforms:
Mono(>=1.2.2.1)
libusb
Note: Make sure your user has correct permissions set to use the USB bus.

*************************************************************************
setControls

Copy the ICSharpCode.USBlib.dll for your system in the same directory.
i.e. Linux users need to copy the /ICSharpCode.USBlib/../Linux/ICSharpCode.USBlib.dll file into the same
directory as setControls.exe
by default the /ICSharpCode.USBlib/../Windows/ICSharpCode.USBlib.dll is in the same directory as setControls.exe

usage:
setControls debug
Detects and writes info about all USB devices libusb sees

setControls [ultramapfilename]
Loads a .um file to all detected Ultrastiks
Note: The Ultimarc.Ultrastik Class does not support the "Mouse Pointer.um" map.
Instead use the hardcoded mouse map.

setControls [hardcodedmaps]
Loads one of the hardcoded maps to all Ultrastiks.

List of Hardcoded maps:
joy2way
vjoy2way
joy4way
diagonaljoy4way
joy8way
joy8wayeasy
analog
mouse

