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