;ò
š†@c           @   sO   d  k  Z  d k l Z d k l Z d  k Z e i ƒ  Z d f  d „  ƒ  YZ d  S(   N(   s   Mouse(   s   _s   childWindowc           B   s   t  Z d „  Z d „  Z RS(   Nc         C   s9   t  d ƒ GHx |  i D] } d G| GHq Wt i d ƒ d  S(   Nsá  Usage: system-config-mouse [--help] [--noui] [--text] [--emulthree] [--device <dev>] [<mousetype>]
       --help            Print out this message.
       --noui            Run in command line mode.
       --text            Run in text interface mode.
       --emulthree       Emulate three button mouse
       --device <dev>    Specify port mouse is on.
            <dev> is typically ttyS[0-3], or psaux for PS/2 mice on a PS/2 port
               
       <mousetype> is one of: s                               i   (   s   _s   selfs   typelists   items   syss   exit(   s   selfs   item(    (    s0   /data/usr-share/system-config-mouse/mouse_cli.pys   usage   s
    	
 c         C   s  t  d d ƒ |  _ |  i i ƒ  |  i i ƒ  |  _ |  i i ƒ  } | i ƒ  | |  _	 g  |  _
 x= | D]5 } |  i | \ } } } } } }	 |  i
 i |	 ƒ qc W| o |  i ƒ  n | g  j o t d ƒ GHt d ƒ GHn+| t j o
 | d j o| |  i i ƒ  j oÜ |  i i ƒ  | } |  i i ƒ  | \ } } } } }
 } | t j o, | d j o t d ƒ GHd } qy| } n | t j o
 |
 } n | o
 d	 } n d
 } t" i# | | | | | | ƒ t" i$ | | | ƒ t" i% ƒ  qt d | ƒ GHt d ƒ GHn d  S(   Ns	   skipProbei   s$   You must specify a valid mouse type.s6   Run 'system-config-mouse --help' to see a list of mices    s   ttySs2   A serial device was not specified.  Assuming ttyS0s   ttyS0s   yess   nos   "%s" is not a valid mouse type.(&   s   Mouses   selfs   mouses   reads	   availables   miceDicts   keyss   mices   sorts	   micenamess   typelists   items   as   bs   cs   ds   es   types   appends   helps   usages	   mousetypes   _s   Nones   devices   mouseToMouses   fullNames   gpms	   xprotocols	   iprotocols
   listdevices   listemulates	   shortnames	   emulthrees   mouseBackends   writeMouseFiles   modifyXconfigs
   restartGpm(   s   selfs	   mousetypes   devices	   emulthrees   helps   fullNames   gpms	   xprotocols	   shortnames   types   listemulates	   iprotocols   mices   as   cs   bs   es   ds   items
   listdevice(    (    s0   /data/usr-share/system-config-mouse/mouse_cli.pys   __init__*   sF    
		 %



(   s   __name__s
   __module__s   usages   __init__(    (    (    s0   /data/usr-share/system-config-mouse/mouse_cli.pys   childWindow   s   	(	   s   syss
   rhpl.mouses   Mouses   rhpl.translates   _s   mouse_backends   MouseBackends   mouseBackends   childWindow(   s   mouse_backends   childWindows   mouseBackends   syss   Mouses   _(    (    s0   /data/usr-share/system-config-mouse/mouse_cli.pys   ?   s
   		