summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* If the name of the mouse device starts with "/dev/ums", try to load thedes2003-11-131-2/+15
| | | | | | | | | | ums module, and allow for up to five attempts to open the device, with two-second pauses in between, to allow time for USB controllers and devices to probe and attach. My Gigabyte P4 Titan 848P motherboard has a total of 15 ports on four hubs hanging off four controllers, and needs at least half of that ten-second allowance to get ready. MFC after: 7 days
* Whitespace cleanup.des2003-11-131-378/+376
|
* Add section number to .Xrcharnier2003-06-081-1/+1
|
* Grammar and punctuation fixesbrueffer2003-04-251-7/+7
| | | | | | PR: 40910 (most of them) Submitted by: Chris Pepper <pepper@rockefeller.edu> MFC after: 3 days
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-2/+2
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* english(4) police.schweikh2002-12-271-1/+1
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-3/+3
|
* The .Nm utilitycharnier2002-07-141-20/+22
|
* Work around a code generation bug of GCC 3.1 by replacingknu2002-05-191-14/+14
| | | | | | | | | | | | | | | | | `/2' with `>>1'. In the context `>>1' is more appropriate because it looks like the division is used to restore a shifted value. GCC GNATS PR: c/6677 This fixes a problem where wheel-up movement is taken as wheel-down in the sysmouse protocol. Do not assume the plain char's are signed; use `signed char' where char's need to be signed. Discussed on: audit Pointed out by: bde
* Fix a number of warnings. A gcc preprocessor bug relating to macrosiedowse2002-04-281-38/+53
| | | | | | | with variable numbers of arguments made this slightly harder than it should be. Avoid the bug by not doing string concatenation within the macros, and instead add a new function to syslog or print the error messages.
* Minor changes:will2002-03-241-1/+20
| | | | | | | | | | | [1] Support the Sony VAIO Jogdial in moused(8). [2] Modify spic(4) to support additional Sony VAIO models. Submitted by: [1] Juriy Goloveshkin <j@gu.ru>, [2] Akira Funahashi <funa@funa.org> Tested by: cjh, jim, Jerry A! <jerry@thehutt.org> Approved by: nsayer MFC after: 2 weeks
OpenPOWER on IntegriCloud