summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
Commit message (Collapse)AuthorAgeFilesLines
* 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
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* Expand the usage info to include the possible options for -i,dougb2001-08-091-2/+2
| | | | and fix the printf so that the line actually gets printed.
* mdoc(7) police:ru2001-08-071-5/+9
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-76/+76
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Oops, remove a `mouse_move_delayed++' that shouldn't have beeniedowse2001-07-081-3/+1
| | | | | added in the previous commit; this variable is already incremented in the previous `if' condition.
* The state machine for 3-button emulation defers some button eventsiedowse2001-07-081-4/+29
| | | | | | | | | | | | | | until a 20ms select(2) timeout occurs, but if there is a continuous stream of movement events, button events can be delayed indefinitely because the select never has to wait long enough for a timeout. The delay and mouse event reordering that result are very noticable and sometimes quite frustrating when dragging windows etc. in X. Add a simple mechanism that avoids this re-ordering. While a button event is deferred, we discard up to 3 movement events to allow for mouse jitter. If more movement events occur, then we immediately timeout the deferred button event and let the movement proceed. This change only affects the 3-button emulation case.
* Add an acceleration option to mousedgreid2001-06-252-8/+31
| | | | | | | PR: 28369 Submitted by: Daniel O'Connor <darius@dons.net.au> manpage reviewed by: ru MFC after: 10 days
* Nuke unused variables.dd2001-06-241-2/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+2
|
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-181-2/+2
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-10/+10
|
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-0/+1
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-3/+3
|
* Initiate deorbit burn sequence for <machine/mouse.h>.phk2000-10-091-3/+1
| | | | | | | | | | Replace all in-tree uses with <sys/mouse.h> which repo-copied a few moments ago from src/sys/i386/include/mouse.h by peter. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/mouse.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/mouse.h> files will be removed.
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-081-1/+1
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Reduce the default timeout for the three button emulationyokota2000-04-212-2/+2
| | | | from 200 msec to 100 msec.
* Set the right default timeout to 200ms as per the manpage.roberto2000-04-111-1/+1
| | | | | PR: bin/17879 Submitted by: Samuel Tardieu <sam@ada.eu.org>
* Follow up to the 3 button emulation update in rev 1.41:yokota2000-04-081-20/+25
| | | | | | | - Fix the -z option which I broke in rev 1.41. It didn't work correctly when used in conjunction with the -m option. - Tweak the 3 button state machine so that 'Up' events of the buttons 1 and 3 are reported immediately as soon as the buttons are up.
* Brush up the last commit.yokota2000-04-031-13/+13
| | | | | | | | - Expand contractions. - Change some expressions. - Reword the sections that describe the reporting of down events. Submitted by: sheldonh
* Reflect the recent update in moused.c.yokota2000-04-021-2/+46
|
* Remove unwanted debug output.yokota2000-03-311-1/+1
| | | | | PR: bin/17617 Submitted by: Allan Saddi <asaddi@philosophysw.com>
* - This is the second attempt to fix the `-3' option for moused :-)yokota2000-03-201-71/+280
| | | | | It also adds a new option, `-E', to set the timeout value for the three button emulation.
* Add Mitsumi Wireless Scroll Mouse PnP ID.yokota2000-03-201-0/+2
|
* - Add support for IntelliMouse Explorer, NetScroll Optical, SmartScroll,yokota2000-03-181-26/+133
| | | | | | | Scroll Point, and 4D/4D+ mice. - Add a couple of serial mouse PnP IDs. - Extend the `-z' option so that the second wheel (or the horizontal movement of the `scroll' device) can be mapped to buttons.
* Add Tremon Wheel PNP mouseache2000-03-151-0/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-16/+32
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Added the PnP ID for MouseSystems SmartScroll Mouse (serial mouse).yokota2000-01-241-0/+2
| | | | | | | | This mouse may be a OEM version of Genius EasyScroll Mouse. (The mouse has three buttons on top, one side button and a wheel which also acts as a button. However, I know no way to activate the wheel, and it can only be used as an ordinary 3-buttons mouse :-)
* Add the PnP ID for the Logitech Cordless MouseMan Wheel (serialyokota2000-01-201-0/+2
| | | | version).
* Back out previous commit, which broke mouse wheel support in moused.sheldonh1999-12-172-251/+43
| | | | Requested by: yokota
* - Improve the three button emulation by introdusing a small stateyokota1999-12-152-43/+251
| | | | | | | | machine. The three-button emulation of moused has been somewhat difficult to use for many people. I hope this update fixes it. - Add a new option, -E, to set timeout value to detect two buttons are pressed down simulteneously. The default value for this timeout is 200msec.
* Mention USB mouse support.yokota1999-12-051-4/+26
|
* Remove a stray ';' which made moused fail on read()s in all cases.n_hibma1999-11-301-1/+1
| | | | | | Prodded-By: Andrey A. Chernov <ache@FreeBSD.org> Prodded-By: Soren Schmidt <sos@freebsd.dk> Prodded-By: Louis A. Mamakos <louie@TransSys.COM>
* Bail out on failing the read(). This happens when a USB mouse isn_hibma1999-11-291-3/+3
| | | | | | | | disconnected. We retry the open in the parent subroutine. Remove an ifdef _i386_ . MOUSE_IF_USB is now defined for alpha as well. Reviewed-By: yokota
* "Plag and play" -> "Plug and Play"phantom1999-10-151-1/+2
|
* Fix warning: return type of `main' is not `int'peter1999-09-151-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add support for the serial version of Interlink VersaPad.yokota1999-08-172-3/+116
|
* Bad reference vidcontrol(4) -> vidcontrol(1)chris1999-08-141-2/+2
|
* Improve Logitech MouseMan+ protocol support.yokota1999-07-121-7/+40
|
OpenPOWER on IntegriCloud