data from USB joystick

-=>JB<=- sundown at pacifier.com
Sun Sep 26 22:55:15 EDT 2010


If I understood him correctly he wants to plug any standard USD game
device into his computer and control it with LiveCode.  For him to use
the USB Service Plus gadget he might get it to work but then anyone
using the game he develops would need to buy the gadget which is
not going to happen so that idea does not seem suitable.

I had mentioned I was working on a serial communications stack that
was going to allow you to also control X10 and similar home control
devices accessing a X10 USB or similar device with Livecode.  This
appears to be feasible by opening the port with livecode and then
using the right driver to access the USB device.

The problem I had was after opening the serial port I was able to
send a certain amount of text and then rev would not send anymore
which makes me think they are using a memory buffer in their code
that fills up.  So if that is what is happening even if you are able to
control the USB device it will stop after the buffer is full which means
you will need to close the port and open it again which empties the
buffer allowing you to send the same amount of text again.  That is
going to cause problems if you need to close the port and open it
again during game play.

-=>JB<=-


On Sep 26, 2010, at 7:15 PM, DunbarX at aol.com wrote:

> The USB Service Plus gadget would do all this and be fun to work with as 
> well.
> 
> http://www.bkohg.com/serviceusbplus_e.html
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list