Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 1999 18:05:45 -0400 (EDT)
From:      John Baldwin <jobaldwi@vt.edu>
To:        kbyanc@alcnet.com, freebsd-hackers@freebsd.org
Subject:   Joystick support for Koules...
Message-ID:  <199906192205.SAA01316@smtp1.erols.com>

next in thread | raw e-mail | index | archive | help
In an effort to make FreeBSD even more (un)productive, I added in support for
FreeBSD's joystick driver to Koules, a game which can be found in the ports
collection at /usr/ports/games/koules.  To compile the game with this patch
follow this sequence:

# cd /usr/ports/games/koules
# make patch
# cd work/koules-1.4
# fetch http://www.cslab.vt.edu/~jobaldwi/koules-bsdjoy.tgz
# mkdir temp
# tar xvfzC koules-bsdjoy.tgz temp/
# patch client.c < temp/client.c.patch
# patch koules.c < temp/koules.c.patch
# patch koules.h < temp/koules.h.patch
# patch menu.c < temp/menu.c.patch
# patch xlib/init.c < temp/xlib_init.c.patch
# cp temp/freebsd_joystick.h .

Edit Iconfig and uncomment the '#define JOYSTICK' line, then cd back to
/usr/ports/games/koules, and 'make install' as usual.  One problem so far: it
doesn't detect to make sure a joystick is at a port.  Please send any
suggestions, comments, etc. as I'd like to get this tested on more than just my
box before I send it to the author as the authoritative FreeBSD joystick
support. :)

---

John Baldwin <jobaldwi@vt.edu> -- http://members.freedomnet.com/~jbaldwin/
PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906192205.SAA01316>