Sophie

Sophie

distrib > Mandriva > 9.1 > i586 > by-pkgid > e58dca67ac4b12b26c331c133ed01093 > files > 9

libjsw1-1.5.0-4mdk.i586.rpm

                       L I B J S W   D E M O S

                   http://wolfpack.twu.net/libjsw/


These are excerpts of working demo code from the libjsw online tutorial.

You are assumed to know ANSI C, have libjsw installed, and ran
jscalibrator atleast once to calibrate your joysticks.

To compile all the demos, type:

    # make


You should learn by looking the respective demo's source code in the
following order:

    basic.c		Basic libjsw API procedures and usage
    listing.c		How to list installed game controllers
    axis_timming.c	Advanced axis event handling with critical timming
    button_timming.c	Advanced button event handling with critical timming