summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
Commit message (Collapse)AuthorAgeFilesLines
* Add preliminary support for IBM/Lenovo TrackPoint.jkim2013-03-181-0/+1
| | | | | | PR: kern/147237 (based on the initial patch for 8.x) Tested by: glebius (device detection and suspend/resume) MFC after: 1 month
* A number of places in the source tree still reference cuad.* aftereadler2012-12-081-5/+5
| | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
* Make sure moused is exiting as quick as possible after that thehselasky2012-09-241-12/+8
| | | | | | | | | | | | | | | umsX character device returns a read error. Update devd.conf rules to use "DEVFS" events which are generated after that the umsX character device node has been created/destroyed, and then there should be no need for moused to wait up to 10 seconds for umsX to be ready. Opening umsX should not fail except if the kernel is low on memory. In that case the user can replug the USB mouse or use "usbconfig" to reset the device. In case of USB mouse devices, moused should neither retry to open its character device, once the first read error has happened. This is an indication of device detach. MFC after: 1 week
* The UMS module is now loaded by rules in /etc/devd/usb.conf whichhselasky2012-03-171-10/+1
| | | | | | | are executed by devd. Remove duplicate kldload. Reported by: joel @ MFC after: 1 week
* Fix warning when compiling with gcc46:eadler2012-01-201-2/+1
| | | | | | | error: variable 'now' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC after: 3 days
* Spelling fixes for usr.sbin/uqs2011-12-301-2/+2
|
* Mark global functions and/or variables in moused(8) static where possible.ed2011-11-061-8/+8
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Formatting fix.gjb2011-03-171-1/+1
| | | | | Submitted by: arundel (via doc@) MFC after: 3 days
* Fix typos - remove duplicate "the".brucec2011-02-211-1/+1
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* When Emulate3Button is active, do not set select() timeout in states whenmav2010-06-151-1/+2
| | | | | | it is not needed. No need to kick CPU every 20ms without a purpose. Reviewed by: philip@
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-05-131-28/+28
| | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* Improve the virtual scrolling mechanism to make middle clicking lessphilip2008-05-152-15/+58
| | | | | | | | | | | difficult. Add a -L option (yet another option, indeed!) which changes the speed of scrolling and change -U to only affect the scroll threshold. This should make middle-clicking a much more pleasant experience. PR: bin/120186 Submitted by: Aragon Gouveia <aragon -at- phat.za.net> MFC after: 3 days
* Use intmax_t instead of long when casting time_t.jkim2008-03-071-3/+4
| | | | | Suggested by: mlaier Tested with: make universe
* The breakage from increased warns has been fixed, back out my back outimp2008-03-061-1/+1
|
* Cast time_t to long to mute tinderbox build failure.jkim2008-03-061-2/+2
|
* This breaks the arm build, back it out until that's fixedimp2008-03-061-1/+1
|
* Mark moused(8) WARNS=6 clean.jkim2008-03-061-0/+2
|
* Fix compiler warnings and style(9) bugs.jkim2008-03-061-192/+201
|
* Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST.jkim2008-03-061-63/+82
| | | | It is only used to track elapsed time and it does not have to be precise.
* Fix a (very) longstanding bug in moused(8) affecting high-resolution rodentsphilip2007-06-171-6/+41
| | | | | | | | | | | | 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
* Add dynamic acceleration to moused(8). This introduces a '-A' flag to controlphilip2007-03-113-8/+116
| | | | | | | | | the acceleration algorithm. It can be used together with the '-a' flag for regular acceleration. PR: bin/110003 Submitted by: Oliver Fromme <olli -at- lurza.secnetix.de> MFC after: 1 week
* Markup fixes.ru2006-09-291-17/+22
|
* Convert macros to use C99's syntax for macros with a variable number ofstefanf2006-07-201-10/+10
| | | | arguments.
* Send the pcvt(4) driver off to retirement.phk2006-05-171-6/+0
|
* Replace the guts of usbmodule() with calls to the new kld(3) functions.des2006-02-181-34/+1
|
* Add "yet another" moused(8) hack: suspend handling mouse events when SIGUSR1philip2005-12-042-6/+38
| | | | | | | | | is caught. Can be assigned to a window manager shortcut to prevent accidents with touchpads. PR: bin/89357 Submitted by: Nick Hibma <nick -at- van-laarhoven.org> MFC after: 1 week
* -mdoc sweep.ru2005-11-181-3/+4
|
* Fix a small typo.philip2005-09-191-1/+1
| | | | Spotted by: ceri
* Add an option to stop 'mouse drift' in some defective/cheap mice. This stopsphilip2005-09-192-4/+89
| | | | | | | | | the pointer slowly wandering away on its own in an annoying way when the mouse isn't physically moved. PR: bin/83970 Submitted by: Lena -at- lena.kiev.ua X-MFC after: 6.0-RELEASE
* Pidfiles should be created with permission preventing users from openingpjd2005-09-161-1/+1
| | | | | | | them for reading. When user can open file for reading, he can also flock(2) it, which can lead to confusions. Pointed out by: green
* Use pidfile(3) in moused(8).pjd2005-08-242-6/+16
|
* Add a -H option to enable horizontal virtual scrolling, much like -V forphilip2005-07-192-18/+51
| | | | | | | | vertical virtual scrolling. This also respects -U for the distance. PR: bin/82762 Submitted by: Eric Kjeldergaard <kjelderg -at- gmail.com> MFC after: 1 month
* Support for the GTCO Digipad.mdodd2005-04-132-0/+79
|
* Sort sections.ru2005-01-181-5/+5
|
* Document the -U option a bit more clearly.philip2005-01-111-0/+12
| | | | Submitted by: keramida
* Scheduled mdoc(7) sweep.ru2005-01-111-1/+1
|
* - mdoc(7) cleanup.simon2005-01-111-17/+43
| | | | | | - Bump document date for last content change. Extended mdoc clue: ru
* Document the -V and -U options in usage().philip2005-01-061-2/+2
| | | | Submitted by: Jordan Sissel <psionic@csh.rit.edu>
* Update moused(8) and mouse(4) to reflect the cuaa->cuad name change.philip2004-11-121-5/+5
| | | | Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+1
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Add 'virtual scrolling' support to moused(8). When holding down the middlephilip2004-10-112-3/+109
| | | | | | | mouse button, motions are interpreted as scrolling. Submitted by: Jordan Sissel <psionic-AT-csh.rit.edu> Approved by: njl
* Teach moused about Synaptics touchpads.philip2004-08-032-1/+12
| | | | | | | While I'm here, document the existence of the '-l' option, which allows one to use moused to use psm in some more interesting ways. Approved by: njl (mentor)
* Use C99 conforming designated initialisers rather than the obsolete GCC syntax.stefanf2004-07-031-17/+17
|
* Mechanically kill hard sentence breaks.ru2004-07-021-13/+26
|
* Language tweak in explaining the mouse wheel's functionality.obrien2004-06-141-2/+2
|
* Fix serious ugliness introduced in 1.61, which leads to long delay in bootsobomax2004-01-101-5/+11
| | | | | | | | | | | | sequence when machine is started without attached USB mouse. Only do repeated attempts to re-open device if the usb module has been actually loaded. Also fix broken logic in doing delays between open attempts - do delays between attempts, not after each attempt. Due to previous behaviour being very annoying for notebook owners this is a good 5.2 MFC candidate. MFC after: 2 days
* __FBSDID; remove duplicate <ctype.h>; try to reduce style inconsistencies.des2003-11-171-46/+43
|
* Sort includes, and remove superfluous <sys/types.h>des2003-11-171-15/+15
|
* Instead of blindly loading the ums module and bailing out if that fails,des2003-11-171-2/+38
| | | | | | | | check if it's already loaded or compiled into the kernel, and only try to load it if it isn't. PR: bin/59368 Submitted by: Jens Rehsack <rehsack@liwing.de>
OpenPOWER on IntegriCloud