Home | History | Annotate | Line # | Download | only in wsmoused
      1 # $NetBSD: wsmoused.conf,v 1.5 2004/02/05 11:41:15 jmmv Exp $
      2 #
      3 # wsmoused.conf - multipurpose mouse daemon configuration file.
      4 #
      5 # See wsmoused(8) and wsmoused.conf(5) for a complete list of options and
      6 # available modes.
      7 #
      8 
      9 # The wsmouse(4) device, shared by all modules.
     10 device = /dev/wsmouse;
     11 
     12 # List of modes that will be activated at runtime (selection is the default).
     13 #modes = "selection action";
     14 
     15 # The console where the X server runs (usually /dev/ttyE4).
     16 #xconsole = 4;
     17 
     18 # Selection mode (sel) specific configuration.
     19 mode selection {
     20 
     21 #	Tune mouse movement speed.
     22 #	slowdown_x = 0;
     23 #	slowdown_y = 3;
     24 
     25 }
     26 
     27 mode action {
     28 
     29 #	Halt the system when button 0 (left) is pressed.
     30 #	button_0_down = "shutdown -h now";
     31 
     32 #	Reboot the system when button 2 (right) is pressed.
     33 #	button_2_down = "shutdown -r now";
     34 
     35 }
     36