----------------------------------
Title: XINPUT Blitz3D Userlib
Version: 1.0 @ November 21, 2008
Author: Jos Lucio M. Gama "SLotman"
Website: http://www.icongames.com.br
----------------------------------

COPYRIGHT NOTICE
Copyright 2008-2012 Jos Lucio M.Gama. All Rights Reserved.

This script may be used and modified free of charge by anyone
AS LONG AS COPYRIGHT NOTICES AND ALL THE COMMENTS REMAIN INTACT.
By using this code you agree to indemnify Jos Lucio M. Gama from any
liability that might arise from it's use.

Selling the code for this program, in part or full, without prior
written consent is expressly forbidden.

Obtain permission before redistributing this software over the Internet
or in any other medium. In all cases copyright and header must remain
intact. This Copyright is in full effect in any country that has
International Trade Agreements with the United States of America or
with the European Union.
-----------------------------------------------------------------------

XInput is a userlib to control XBOX360 joysticks on Blitz3D, with
this library you can read all buttons, axis and even make it vibrate.

To use it, first put xinput.decls on your Blitz3D\userlibs\ folder.
Then add xinput.bb at the same folder your program is, and put the following line into your program:

include "xinput.bb"

After that you're ready to use it!

See xinput_test.bb for a small sample on how to use the library.
Dont forget to first call InitX360Joy, and check it's result to see if the
XInput API is installed and enabled on your computer.
Once you program is terminated, call FreeX360Joy() to free the resources allocated by the userlib.

This userlib may be used freely. All I ask is a small credit somewhere in your program. 
But if you find it usefull, or use it on a comercial program, please make a donation to keep our website running. A donation can be made at http://www.icongames.com.br/b3duserlibs/ or through the link below:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=1314394

Thanks, and good luck!

