summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Make it clear that PS/2 type mice will work only with "auto" andyokota1999-06-031-2/+14
| | | | | "ps/2" protocol types, and that serial mouse protocols shouldn't be specified for these mice.
* Fix PS/2 MouseMan+ protocol. We have been looking at a wrong placeyokota1999-06-031-2/+2
| | | | for the sign bit for roller movement!
* USB is only on PC's at the minute, don't try and use the MOUSE_IF_USBgpalmer1999-03-011-1/+3
| | | | define on the AXP, 'cos it breaks.
* Print "usb" for MOUSE_IF_USB, rather than "unknown".yokota1999-02-281-1/+2
|
* Cleanup usage string: -i takes an argument.steve1998-12-131-2/+2
| | | | | PR: 8315 Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
* - Added support for Genius Kidspad tablet.yokota1998-11-202-3/+107
| | | | | | | | # `moused' is getting too over-loaded now. If we want something # more than simple mouse emulation for tablets or remote devices, # we should start writing a separate daemon... Submitted by: luigi
* - Added a new option: -w N. The option makes the button N as the `wheelyokota1998-11-202-5/+32
| | | | | | | | | mode' button. Mouse movement will be treated as wheel movement while this button is held down. Useful for mice with many buttons but without a wheel. PR: bin/8001 Submitted by: Hideyuki Suzuki
* - Reorganized a `if-else' close a bit for clarity. Purely cosmeticyokota1998-11-201-21/+22
| | | | change. No functional difference.
* Fix PnP mouse detection routine so that:yokota1998-10-121-36/+113
| | | | | | | | | | | - it has longer timeout as per the PnP COM Device Specificaiton 1.0, - and it tries to obtain the PnP ID string by strictly following the specification and if it fails, by deploying slightly simplified steps. (moused has used the simplified method because early PnP mice do not exactly follow the specification. But now, recent mice do not supply the ID string unless the strict procedure is used...) Jointly developed by luigi and yokota.
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-1/+0
|
* Typo: hittab -> hitabdwhite1998-09-171-2/+2
|
* Reviewed by: Amancioahasty1998-06-142-2/+125
| | | | | | | | | | | | | | | | | | Submitted by: Randall Hopper <rhh@ct.picker.com> The patch supports using the X10 Mouse Remote in both stand-alone and pass-through configurations, so you can plug your mouse and remote into the same serial port, use the mouse for X, and use the remote for other apps like Fxtv. For instance, we can now control fxtv via the remote control just like a TV : change channels, mute, increase volume, zoom video, freeze frame 8) The mouse events are channeled through the syscons/sysmouse I/F like normal, and the remote buttons are "syphoned off" to a UNIX-domain stream socket (defined as _PATH_MOUSEREMOTE in <machine/mouse.h>) for a remote-aware app to grab and use. For further info on the X10 Mouse Remote see: http://www.x10.com/products/x10_mk19a.htm
* Minor tweaks in the AUTHORS section.steve1998-06-131-5/+4
| | | | | PR: 6921 Submitted by: Josh Gilliam <josh@quick.net>
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* - Describe the -I option in the man page.yokota1998-03-122-3/+14
| | | | - Add the -I option in the usage line.
* Add -I flag.jkh1998-03-071-2/+13
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Add 4th button support for the "MouseMan" protocol. The latestyokota1998-03-061-4/+5
| | | | trackball model from Logitech has four buttons.
* Add Genius PnP Mouse (simple one)ache1998-02-041-3/+5
|
* Fix typo.yokota1998-01-251-8/+8
| | | | PR: docs/5562
* Add the PnP string for a Logitech serial mouse model.yokota1998-01-201-1/+3
|
* Added some notes on cut&paste functions and button assignment.yokota1998-01-051-1/+17
|
* - Added support for a new MouseMan model (4 buttons, no wheel).yokota1997-12-232-6/+30
| | | | | | | | | | | | | Based on the report from Dave Bodenstab. - Turn off PnP COM device enumeration procedure if the user explicitly specifies a protocol type with the "-t" option. - Accept "-t auto". Now the user may entirely omit the "-t" option in the command line, or specify "-t auto" in order to make moused detect an appropriate protocol type automatically. In the previous version, moused did so only if the "-t" option is absent in the command line. ("-t auto" won't disable PnP COM device enumeration.) - Updated the man page.
* Oops, I forgot to set `cflag' in some cases when initializing theyokota1997-12-151-3/+7
| | | | mouse port.
* Explicitly state that the -t option is required only when theyokota1997-12-081-3/+10
| | | | | | | moused command is not able to detect the appropriate protocol for the give mouse automatically. Suggested by: sos
* The `moused' daemon is made to support various serial mouseyokota1997-12-072-322/+2074
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | protocols to recognized extra buttons and wheel/roller. It now has PnP COM device support code, thus, some recent mouse products are automatically detected and an appropriate protocol is selected. The `-i' option will print the result of auto-detection. - Added support for the following SERIAL mice: ALPS GlidePoint, MS IntelliMouse, Kensington Thinking Mouse (Genius NetMouse, NetMouse Pro, ASCII MieMouse, Logitech MouseMan+, FirstMouse+ are compatible with MS IntelliMouse, when connected to a serial port, thus requires no explicit support) - Added PnP serial mouse identification capability as defined by Microsoft and Hayes in "Plug and Play External COM Device Specification, rev 1.00". This support will enable us to identify the correct protocol to use, or choose a compatible protocol for the given mouse. - Utilize new ioctls defined in `mouse.h' to get hardware and protocol information on PS/2 and bus mouse devices. Try to guess the correct protocol and port combination based on the obtained info. - Use MOUSE_SETLEVEL ioctl. - Use constants defined in `mouse.h' rather than using own definitions. - A New command line option. The -i option prints the information collected though the PnP code and psm/mse ioctls mentioned above, and just quits. This is to test `moused's ability, or inability, to detect the correct protocol for the given mouse automatically. - A new command line option. The -m option maps a physical button to a logical button. - A new command line option. The -z option maps the Z axis movement to another axis or a pair of buttons. - Add other options: -3, -C -F -P. - Added a handler for SIGHUP. This has been suggested by somebody in the past (I don't remember who). He wanted this because he wants to attach or detach a mouse while his laptop is suspended. Now `moused' will reopens and reinitialize the specified port whenever a SIGHUP is received. I don't know how useful this can be...
* Remove unused variables. Lowercase err() strings.charnier1997-09-252-43/+29
|
OpenPOWER on IntegriCloud