diff --git a/share/examples/wsmoused/wsmoused.conf b/share/examples/wsmoused/wsmoused.conf index 742b3c157e82..9cca6e021863 100644 --- a/share/examples/wsmoused/wsmoused.conf +++ b/share/examples/wsmoused/wsmoused.conf @@ -1,4 +1,4 @@ -# $NetBSD: wsmoused.conf,v 1.2 2003/08/06 18:09:12 jmmv Exp $ +# $NetBSD: wsmoused.conf,v 1.3 2003/08/06 22:16:34 jmmv Exp $ # # wsmoused.conf - multipurpose mouse daemon configuration file. # @@ -9,8 +9,8 @@ # The wsmouse(4) device, shared by all modules. device = /dev/wsmouse; -# List of modes that will be activated at runtime. -#modes = "selection"; +# List of modes that will be activated at runtime (selection is the default). +#modes = "selection action"; # Selection mode (sel) specific configuration. mode selection { @@ -23,3 +23,13 @@ mode selection { # xconsole = 4; } + +mode action { + +# Halt the system when button 0 (left) is pressed. +# button_0_down = "shutdown -h now" + +# Reboot the system when button 2 (right) is pressed. +# button_2_down = "shutdown -r now" + +}