← Back to team overview

sslug-teknik team mailing list archive

Re: Muse Hastighed i XWindows og Spil !

 

On Tue, 26 Jan 1999, Digitalblasphemy wrote:

> Det hjalp
> ... men ikke i quake2 ... hvor min muse hastighed er helt i top !!.. 
> men den kører BARE LANGSOMT (altsaa musen i q2)

[jach@nilfisk]/usr/doc/svgalib$ man libvga.config

     SVGA_MOUSE_ACCEL_THRESH   and  SVGA_MOUSE_ACCEL_MULT
              environment variables.
              These  environment  variables  allow to set a mouse
              acceleration multiplier and threshhold.   They  are
              no commands for the config file (most probably con­
              fig options to set them should be implemented too),
              but lacking a better place we discuss them here.

              SVGA_MOUSE_ACCEL_THRESH must be an integer in range
              1 to 255.  SVGA_MOUSE_ACCEL_MULT must be a float in
              any  format  acceptible  by  C in range 1.0 (exclu­
              sively) to 10.0 (inclusively).  Both may  be  unset
              or set to "0" to turn the acceleration feature off.

              When SVGA_MOUSE_ACCEL_THRESH is greater than  zero,
              when ever the mouse reports a movement of more than
              SVGA_MOUSE_ACCEL_THRESH pixels in  one  chunk,  the
              result is multiplied by SVGA_MOUSE_ACCEL_MULT.

Kommandoen "man" er din ven, "locate", "apropos" og filerne i /usr/doc er
også dine venner.

/chrille

--
Jan Chrillesen (JC301-RIPE), work: jach@xxxxxxxxxxx
"Solaris is great, Windows NT is late" -- Sun Microsystems



References