summaryrefslogtreecommitdiff
path: root/usr.sbin/wsmoused/wsmoused.c
AgeCommit message (Collapse)Author
2011-03-22use timerclear macroOkan Demirmen
ok miod@
2009-06-21Support mouses with lots of buttons. Also, fix a crash when pressingJacek Masiulaniec
a button that's outside of the hardcoded range; miod@ ok
2009-06-05Add the ability to attach wsmoused to a different wsdisplay than wsdisplay0Miod Vallat
(i.e. ttyCcfg) with the new -D option. While there, a lot of cleanup, including not creating a pidfile by default (since there might be more than one wsmoused running on multiple wsdisplay systems).
2007-11-24Since switches from X to consoles are aysnchronous, wsmoused(8) can be awakenedMiod Vallat
before the X server has release the mouse device. Instead of an arbitrary sleep, loop (with increasing delays) until we can open the device again. Found the hard way and tested by jmc@
2007-09-18use C99 explicit struct initializer instead of deprecated gcc 2.5Otto Moerbeek
style. ok miod@ millert@
2007-04-10Add support for a fourth axis on wsmouse devices, e.g. on the Apple MightMiod Vallat
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
2006-04-17setjmp.h not usedTheo de Raadt
2005-08-12prefer a simpler synopsis: we do not really need a separate case for -i;Jason McIntyre
2004-01-04gcc3 doesn't like varargs, it was found that the varargs.h inclusion isDale Rahn
unnecessary for these files, delete. ok espie@
2003-12-22No need to setup a signal handler for SIGKILL as you can't catch it anyway.Miod Vallat
2003-11-08- correct SYNOPSISJason McIntyre
- sort options - sync usage() - new sentence, new line
2003-09-26check strdup failure; ok anil millertTheo de Raadt
2003-04-13try to use the X Window System, X11 or XFree86 consistently.Jason McIntyre
diffs from Paul Weismann, via mickey@ aided, abetted and ok'd matthieu@
2002-05-30minor KNFTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-03-27Add X-Window support to wsmoused(8). This allows running wsmoused(8) andjbm
X-Window at the same time, removing the need to kill wsmoused(8) before starting X-Window.
2002-03-14Remove \n from err/errx/warn/warnx().Mike Pechkin
millert@ ok
2002-02-15KNFTheo de Raadt
2002-01-12Make sure the daemon() call is harmless to file descriptors.Miod Vallat
Problem reported by markus@, fix by me, ok markus@ millert@
2001-12-09Do not use stdio functions after a successfull call to daemon(), useMiod Vallat
syslog() instead. ok millert@
2001-11-02_exit() in signal handlerTheo de Raadt
2001-09-20Jumbo wsmoused cosmeto:Miod Vallat
- fix some cosmetic bugs - improves some code paths - generalizes the use of stderr, and uses errx/warnx whenevr possible - converts wsmoused.c to KNF ok jbm@
2001-08-31Restore mouse resolution to default value at exit.jbm
2001-08-13Wall cleanupPeter Valchev
2001-08-12Use INFTIM where possible.Federico G. Schwindt
2001-04-14Userland daemon for wscons console mouse features.Aaron Campbell