Add example section for action mode.
This commit is contained in:
parent
a79323123c
commit
a55ba0a54c
@ -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"
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user