Home | History | Annotate | Line # | Download | only in wsmoused
wsmoused.conf revision 1.3
      1 # $NetBSD: wsmoused.conf,v 1.3 2003/08/06 22:16:34 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 # Selection mode (sel) specific configuration.
     16 mode selection {
     17 
     18 #	Tune mouse movement speed.
     19 #	slowdown_x = 0;
     20 #	slowdown_y = 3;
     21 
     22 #	The console where the X server runs (usually /dev/ttyE4).
     23 #	xconsole = 4;
     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