aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/moused
Commit message (Collapse)AuthorAgeFilesLines
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add Elantech trackpad to the list of known modelsOleksandr Tymoshenko2016-09-261-0/+1
| | | | | | | | | PR: 205690 Submitted by: Vladimir Kondratyev <wulf@cicgroup.ru> MFC after: 1 week Notes: svn path=/head/; revision=306356
* Use macro MAX() from sys/param.h.Marcelo Araujo2016-04-221-1/+1
| | | | | | | MFC after: 2 weeks. Notes: svn path=/head/; revision=298445
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-191-3/+3
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | sync from headSimon J. Gerraty2013-04-121-0/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync with HEAD.David E. O'Brien2013-02-081-5/+5
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * \ \ \ Sync from headSimon J. Gerraty2012-11-041-12/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | | | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-3/+3
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | | | Add preliminary support for IBM/Lenovo TrackPoint.Jung-uk Kim2013-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 Notes: svn path=/head/; revision=248478
* | | A number of places in the source tree still reference cuad.* afterEitan Adler2012-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 Notes: svn path=/head/; revision=244040
* | Make sure moused is exiting as quick as possible after that theHans Petter Selasky2012-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 Notes: svn path=/head/; revision=240891
* The UMS module is now loaded by rules in /etc/devd/usb.conf whichHans Petter Selasky2012-03-171-10/+1
| | | | | | | | | | are executed by devd. Remove duplicate kldload. Reported by: joel @ MFC after: 1 week Notes: svn path=/head/; revision=233090
* Fix warning when compiling with gcc46:Eitan Adler2012-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 Notes: svn path=/head/; revision=230351
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-301-2/+2
| | | | Notes: svn path=/head/; revision=228990
* Mark global functions and/or variables in moused(8) static where possible.Ed Schouten2011-11-061-8/+8
| | | | | | | This allows compilers and static analyzers to do more thorough analysis. Notes: svn path=/head/; revision=227256
* Formatting fix.Glen Barber2011-03-171-1/+1
| | | | | | | | Submitted by: arundel (via doc@) MFC after: 3 days Notes: svn path=/head/; revision=219723
* Fix typos - remove duplicate "the".Rebecca Cran2011-02-211-1/+1
| | | | | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days Notes: svn path=/head/; revision=218909
* When Emulate3Button is active, do not set select() timeout in states whenAlexander Motin2010-06-151-1/+2
| | | | | | | | | it is not needed. No need to kick CPU every 20ms without a purpose. Reviewed by: philip@ Notes: svn path=/head/; revision=209214
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theUlrich Spörlein2010-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 Notes: svn path=/head/; revision=208027
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-2/+0
| | | | Notes: svn path=/head/; revision=201390
* Improve the virtual scrolling mechanism to make middle clicking lessPhilip Paeps2008-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 Notes: svn path=/head/; revision=179015
* Use intmax_t instead of long when casting time_t.Jung-uk Kim2008-03-071-3/+4
| | | | | | | | Suggested by: mlaier Tested with: make universe Notes: svn path=/head/; revision=176889
* The breakage from increased warns has been fixed, back out my back outWarner Losh2008-03-061-1/+1
| | | | Notes: svn path=/head/; revision=176865
* Cast time_t to long to mute tinderbox build failure.Jung-uk Kim2008-03-061-2/+2
| | | | Notes: svn path=/head/; revision=176863
* This breaks the arm build, back it out until that's fixedWarner Losh2008-03-061-1/+1
| | | | Notes: svn path=/head/; revision=176862
* Mark moused(8) WARNS=6 clean.Jung-uk Kim2008-03-061-0/+2
| | | | Notes: svn path=/head/; revision=176856
* Fix compiler warnings and style(9) bugs.Jung-uk Kim2008-03-061-192/+201
| | | | Notes: svn path=/head/; revision=176855
* Prefer clock_gettime(2) over gettimeofday(2) and use CLOCK_MONOTONIC_FAST.Jung-uk Kim2008-03-061-63/+82
| | | | | | | It is only used to track elapsed time and it does not have to be precise. Notes: svn path=/head/; revision=176854
* Fix a (very) longstanding bug in moused(8) affecting high-resolution rodentsPhilip Paeps2007-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 Notes: svn path=/head/; revision=170895
* Add dynamic acceleration to moused(8). This introduces a '-A' flag to controlPhilip Paeps2007-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 Notes: svn path=/head/; revision=167461
* Markup fixes.Ruslan Ermilov2006-09-291-17/+22
| | | | Notes: svn path=/head/; revision=162806
* Convert macros to use C99's syntax for macros with a variable number ofStefan Farfeleder2006-07-201-10/+10
| | | | | | | arguments. Notes: svn path=/head/; revision=160523
* Send the pcvt(4) driver off to retirement.Poul-Henning Kamp2006-05-171-6/+0
| | | | Notes: svn path=/head/; revision=158687
* Replace the guts of usbmodule() with calls to the new kld(3) functions.Dag-Erling Smørgrav2006-02-181-34/+1
| | | | Notes: svn path=/head/; revision=155805
* Add "yet another" moused(8) hack: suspend handling mouse events when SIGUSR1Philip Paeps2005-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 Notes: svn path=/head/; revision=153070
* -mdoc sweep.Ruslan Ermilov2005-11-181-3/+4
| | | | Notes: svn path=/head/; revision=152569
* Fix a small typo.Philip Paeps2005-09-191-1/+1
| | | | | | | Spotted by: ceri Notes: svn path=/head/; revision=150315
* Add an option to stop 'mouse drift' in some defective/cheap mice. This stopsPhilip Paeps2005-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 Notes: svn path=/head/; revision=150310
* Pidfiles should be created with permission preventing users from openingPawel Jakub Dawidek2005-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 Notes: svn path=/head/; revision=150214
* Use pidfile(3) in moused(8).Pawel Jakub Dawidek2005-08-242-6/+16
| | | | Notes: svn path=/head/; revision=149426