cvs commit: src/usr.sbin/moused moused.c

Philip Paeps philip at FreeBSD.org
Sun Jun 17 20:27:55 UTC 2007


philip      2007-06-17 20:27:54 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/moused      moused.c 
  Log:
  Fix a (very) longstanding bug in moused(8) affecting high-resolution rodents
  when linear acceleration (-a) was enabled with a <1 value to slow them down.
  
  Previously, rounding errors would eat small movements so the mouse had to be
  moved a certain distance to get any movement at all.  We now calculate the
  rounding errors and take them into account when reporting movement.
  
  PR:             bin/113749
  Submitted by:   Oliver Fromme <olli -at- secnetix.de>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.79      +41 -6     src/usr.sbin/moused/moused.c


More information about the cvs-src mailing list