Commit Graph

8 Commits

Author SHA1 Message Date
matt d6276d7620 Remove "bool" support for now since some platforms are still not able to
cope with it.
2004-01-20 22:11:02 +00:00
jmmv 506d12cd39 Add 2004 to copyright notice because of previous change. 2004-01-05 12:04:46 +00:00
jmmv d6a1e75dd8 Call wscons mode hooks before and after generic_wscons_event. This is to
allow the selection mode hide the mouse before the device is closed, thus
fixing a minor problem (the pointer remained visible when returning from
X for some seconds).
2004-01-05 12:01:52 +00:00
jmmv 18ccc9b90c Add and use the log_err, log_errx, log_warn and log_warnx functions that act as
wrappers for err, errx, warn and warnx respectively when running in foreground
and call syslog functions when running in daemon mode.
Also add and use an extra log_info function for other types of information.
2003-08-06 23:58:40 +00:00
jmmv 15ba121760 - Let the main program handle multiple run modes easily. Each one is
described by a structure with pointers to functions.
- Clearly separate the "selection" mode (which provides copy and paste support
  in console) from wsmoused's main program.
- Added the "modes" property to the configuration file and the "-m" command
  line option to specify which modes should be activated.  (this is mostly
  useless for now, as only the "selection" mode exists; a new mode will
  be added soon, hopefully).
- While here, several style fixes according to share/misc/style.
2003-08-06 18:07:53 +00:00
jmmv 68e2c80483 Add support to parse a configuration file, /etc/wsmoused.conf by default.
This file lets users tune the behavior of the daemon in a easy way, without
having to mess with command line options (nor in rc.conf).
It will also simplify future integration of new functionality within the
program as multiple "modes" of operator are recognized.
The new wsmoused.conf(5) manpage contains all related details.

Some error message cleanup and minor manpage fixes too.

Ok'ed by christos.
2003-03-04 14:33:55 +00:00
jmmv 0a970e7423 Add a new flag, -l, which swaps mouse buttons; this is useful for left
handed users.

Patch provided in my own PR bin/19143 with some minor changes as suggested
by wiz.
2002-12-25 19:13:53 +00:00
christos 784751cd6b PR/17402: Julio Merino: Userland portion for moused (with some changes from me). 2002-06-26 23:13:04 +00:00