Commit Graph

13 Commits

Author SHA1 Message Date
jmmv
a79323123c Add the `action' mode, which can be used to associate commands with mouse
button events.  This mode needs to be explicitly enabled at runtime, and
does nothing if not configured.

As there are now two different modes available, adjust the manpages
accordingly, describing what they do and how they work separatedly.

While here, remove a bunch of unused stuff (event syntax) from config file
parsing.  This was initially added with this new mode in mind, but it has
not been used to make it a lot simpler.
2003-08-06 22:11:48 +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
wiz
0384eb0efb Increase width in a tagged list for nicer display. 2003-04-16 08:42:16 +00:00
jmmv
1d2af97bbf Remove trailing whitespace. 2003-03-04 17:16:15 +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
atatat
dd0a8acd21 The next release will be 2.0, not 1.7. 2003-01-19 21:25:36 +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
wiz
3ced2f4983 Mention moused(8). From Julio Merino in PR 18801. 2002-10-25 21:02:45 +00:00
christos
5cefaa7349 PR/17402: Julio Merino: better fine tuning for both x and y. 2002-08-20 16:55:28 +00:00
wiz
c89a21963c Spelling fixes, sort options alphabetically, correct copyright date,
and some mdoc improvements.
2002-06-27 22:53:12 +00:00
christos
49cc9b7cd6 clarification on mouse use from Julio Merino 2002-06-27 16:10:03 +00:00
christos
19c9175000 correct for ttyEstat 2002-06-27 15:12:23 +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