summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add a simple example section.wosch1997-07-271-1/+9
|
* Add ref to sysmouse(4).wosch1997-07-251-2/+3
|
* Add ref to vidcontrol(1).wosch1997-07-241-0/+3
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-2/+2
| | | | posix standard on the topic.
* Allow the samplerate (in DPI) to be set on the command line, the rest ofpeter1997-03-292-2/+9
| | | | the code appears to support it.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Modified moused to use select rather than read. This fixes usingsos1997-01-201-0/+7
| | | | | the PS/2 mouse (psm device). Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add man page for moused(8). It is basically a rehash of thempp1996-12-162-1/+105
| | | | | | | usage output from moused, but it is a start for anyone else who wants to expand on it. Closed PR# 1552.
* Argh! there's no need for moused to be setuid-root! Now that itpeter1996-09-101-3/+3
| | | | | | | works from startup, and works with XFree86 via /dev/sysmouse, it should be started at boot and left running. Pointed out by: Sujal Patel <smpatel@umiacs.umd.edu>
* gut and overhaul moused, it was simply not working for me on any mousepeter1996-09-101-48/+224
| | | | | | | | | | | | | | | | | | | I could find. This change does the following: - s/usage()/break;/ in handling the -s switch. - use err/warn instead of fprintf(stderr, ... strerror()); exit(1); - implement Hitachi PUMA HitTablet support from the XFree86 code, whatever the hell that is. :-) - correctly implement baud rate setting, too much was cut from the XFree86 code, the critical parts were a sweep over all likely mouse powerup baud rates to switch it to the reqested rate. - logitech support was busted (at least on mine, which is autosensing and runs in either mmseries or logitech mode depending on the handshake code at startup. Among other things, you talk to it at 1200, then switch to the target baud later. Some remaining problems.. samplerate setting is missing, but I've not found where this is meant to be set yet. I presume this is resolution setting of some kind.
* Fix for the problem that moused hangs if it is started from /etc/rcsos1996-09-091-2/+2
| | | | | Introduces the /dev/consolectl device for controlling various console related things (given syscons is used).
* Change the way moused talk to syscons, now its only delivering mouseeventssos1996-06-251-19/+5
| | | | | | | | via an ioctl (MOUSE_ACTION). Fixed a couple of bugs (destructive cursor, uncut, jitter). Now applications can use the mouse via the MOUSE_MODE ioctl, its possible to have a signal sent on mouseevents, makeing an event loop in the application take over mouseevents.
* Moused is the daemon that provides the connection between the cut&pastesos1996-06-212-0/+571
functionality in syscons and the real mouse hardware. If moused is run one can switch on/off the mousepointer with vidcontrol -m on/off. There is no manpage yet, but a fairly descriptive usage message.... Reviewed by:sos Submitted by: Michael Smith Obtained from:Some of the mouselogic comes from XFree86
OpenPOWER on IntegriCloud