[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Overview
About the Joystick Interface:
------------------------------------------------------------------------------
Yes, Yes, I know it is ridiculous to add Joystick support
to Clipper, but hey! I'm putting it here so would you
stop bugging me around would You? It was written as a test to interface
Clipper with Assembly and make use of the I/O ports (as is required to
read the Joystick status). When reading the Joystick, the speed of the
routine is crucial, and that speed is easily achieved when using Assembly.
I know someone who actually wrote a Game in Clipper using these functions,
it is for instance also possible to adapt your TBrowse routines for them to
include support for the joystick! The possibilities would not be used in
a Clippper Application at first sigth, but they may come in handy in some
situation.
Note the support for 2 Joysticks, the first Joystick is always assumed when
no argument is given, otherwise a value of 0 as the argument indicates one
wants the status of joystick #1, as argument of 1 indicates the 2nd Joystick.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson