Add example section for action mode.

This commit is contained in:
jmmv 2003-08-06 22:16:34 +00:00
parent a79323123c
commit a55ba0a54c
1 changed files with 13 additions and 3 deletions

View File

@ -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"
}