From: | Steve Hargreaves |
Date: | 25 Jun 2001 at 21:00:45 |
Subject: | Re: Auto Fire Problem |
On 25-Jun-01, Jason Faramus said -
try:-
tjb=jb
jb=joyb(1) ;Or whichever port the joystick is in
if tjb<>jb
the rest of your code
endif
this will allow jb to be used as a toggle to test whether or not the state of
the button has changed since you last read it (unless your code takes a long
time to execute and the user can press, release and press the button fast
enough)
It's a quick and dirty solution, but it should work.
Regards
Steve
ICQ 21361336
----------------------------------------------
I was there at the dawn of the third age of mankind. It began in the earth
year 2257 with the founding of the last of the Babylon stations, located
deep in neutral space. It was a port of call for refugess, smugglers,
businessmen, diplomats and travellers from hundred worlds. It could be a
dangerous place, but we accepted the risk because Babylon 5 was our last
best hope for peace. Under the leadership of its final commander, Babylon 5
was a dream given form. A dream of a galaxy without war, when species from
different worlds could live side by side, in mutual respect. A dream that
was endagered as never before by the arrival of one man on a mission of
destruction. Babylon 5 was the last of the Babylon5 stations.
This is itīs story...
-- Ambassador Londo Mollari
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie