Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
spin(6)			      Svgalib User Manual		       spin(6)

       spin - test a 6-dimension mouse or pointer device with svgalib


       Another	mouse  test program.  This is the first	svgalib	program	to use
       the 6-dimensional mouse routines.  It draws a wireframe spheroid	on the
       screen which can	be moved left/right, up/down, in/out, or rotated along
       the x, y, or z axes.

       Button bindings are:
       A - Decrease Sensitivity	      (Right Mouse Button)
       B - Change color		      (Middle Mouse Button)
       C - Increase Sensitivity	      (Left Mouse Button)
       D - Increase Number of Sides
       E - Decrease Number of Sides
       F - Quit			      (<Ctrl>-C)

       If you only have	a two dimensional mouse	with three  or	fewer  buttons
       you  will  only be able to move the mouse in two	dimensions (left/right
       and in/out) and will not	be able	to move	up/down	or spin	the  spheroid.
       Note:  the  initial mouse sensitivity is	optimised for the Spacetec se-
       ries of controllers, which are  much  more  sensitive  than  the	 usual
       mouse.	Increasing the sensitivity is advised for users	of other types
       of devices.

       The demo	works always in	mode 320x200x256. It prompts your for an inte-
       ger,  the number	of sides the sphere has	(the higher the	smoother looks
       the spere).

       This demo is part of svgalib and	can be found in	the  demos/  subdirec-
       tory of the original svgalib distribution. However, it is not installed
       in the system by	default, s.t. it is unclear where you can find	it  if
       your  svgalib was installed by some linux distribution. Even then, when
       you have	the demo on your system, you probably won't have  the  sources
       s.t. it is only of limited use for you.

       In  case	 of  any such problem, simply get an svgalib distribution from
       the net.	You even don't need to install it. Just	 make  in  the	demos/
       subdirecty.  As	of  this  writing, svgalib-1.2.12.tar.gz is the	latest
       version	and  can  be  retrieved	 by  ftp   from   at
       /pub/Linux/libs/graphics	 and at /pub/linux/sources/libs
       which will most probably	be mirrored by a site close to you.

       svgalib(7),   vgagl(7),	 libvga.config(5),    mouse_setposition_6d(3),
       threed(6),  accel(6),  bg_test(6),  eventtest(6),  forktest(6), fun(6),
       keytest(6), mousetest(6),  scrolltest(6),  speedtest(6),	 testaccel(6),
       testgl(6), testlinear(6), vgatest(6), plane(6), wrapdemo(6)

       This  manual page was edited by Michael Weller <eowmob@exp-math.uni-es->.	The exact source of the	referenced demo	 as  well  as  of  the
       original	documentation is unknown.

       It is very likely that both are at least	to some	extent are due to Harm
       Hanemaayer <>.

       Occasionally this might be wrong. I hereby asked	to be excused  by  the
       original	author and will	happily	accept any additions or	corrections to
       this first version of the svgalib manual.

Svgalib	(>= 1.2.11)		 29 July 1997			       spin(6)


Want to link to this manual page? Use this URL:

home | help