On 26/09/2010 19:57PM, stephen barncard wrote:
It's all on the net. Your cheapest and easiest solution is to use a Keyspan
USB to serial adapter and Rs-232 serial protocol. Here's one hit from
searching google for "joystick rs232". Sooner or later, some soldering may
be required.

Interfacing Atari-style joysticks to PC parallel and serial
ports<http://www.epanorama.net/documents/joystick/pc_misc.html>



I think the above is missing the point; presumably David has a USB joystick and a USB port on his target computer; so no need to do "the down-and-dirty" with the soldering iron.

What he needs to do is ascertain is, for example, whether the USB joystick sends Unicode chars when it is moved, rather like the chars for right-arrow and left-arrow on a keyboard, and whether they are interpreted by the computer as mouseDown and mouseStillDown signals.

I have a Belkin Nostromo (silly gaming pad) which I use for RunRev/LiveCode programming: now it comes with a set-up control panel where one can set all the keys, wheels and twiddly things on it to do what one wants - having set up one's preferences RunRev/LiveCode can pick up
whatever I do on the Nostromo without any trouble at all.

However, I suspect that David is trying to be somewhat cleverer than me, insofar as he wants to 'skip' the requirement of an intermediate, platform specific, set-up panel / driver-thingy.

My own inclinations would be to run round the corner and buy a crappy USB joystick and plug the thing in, and then set up some silly little stack that will pick up the signals from the USB stick

[ they cannot be that other-worldly ]

and see whether they can be interpreted as KeyDown, rawKeyDown type signals . . .

On 26 September 2010 06:10, David Glasgow<[email protected]>wrote:

Hello folks,

I really really want to make  a Rev  (Ooops) LiveCode app with a push pull
interface like on a mixing slider, or 'dive' and 'pull up' on a plain old
joystick.

I have raised questions about this a few times on the list over a number of
years, and got some helpful pointers.  However, having followed these into
the underpants of USB, I have discovered that is not a place I have the
ability to work.  So I give up.

Is there anyone on this list who could create a cross platform extension or
library thingy which would allow me to read the state(s) of an ordinary, off
the shelf USB joystick?  If so, what would the cost be?


Best Wishes,

David Glasgow

i-psych.co.uk

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to