diff options
author | Matt Wilson <msw@redhat.com> | 2000-07-13 19:00:44 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-07-13 19:00:44 +0000 |
commit | 1fd85785bac904c2f6af4265fb05c25a506b0dcd (patch) | |
tree | aec433c581695a162eed6efe86681b654daa395e /mouse.py | |
parent | c016c394d513bc47e60031b5bc69975678a195ec (diff) | |
download | anaconda-1fd85785bac904c2f6af4265fb05c25a506b0dcd.tar.gz anaconda-1fd85785bac904c2f6af4265fb05c25a506b0dcd.tar.xz anaconda-1fd85785bac904c2f6af4265fb05c25a506b0dcd.zip |
nuke unused
Diffstat (limited to 'mouse.py')
-rw-r--r-- | mouse.py | 37 |
1 files changed, 0 insertions, 37 deletions
@@ -166,40 +166,3 @@ class Mouse (SimpleConfigFile): pass except TypeError: pass - -# if (xmouseType): -# (proto, emulate, device) = xmouseType -# mouseType = None -# mice = self.mice.keys() -# mice.sort() -# for desc in mice: -# (gpm, x11, dev, em) = self.mice[desc] -# # print "trying %s: '%s', '%s'" % (desc, x11, proto) -# if (x11 == proto and emulate == em): -# if (desc[:7] == "Generic" or desc[:3] == "Sun"): -# mouseType = (desc, emulate, device) -# break -# self.device = device -# if not mouseType: -# raise KeyError, "unknown X11 mouse type %s" % proto - -# if (mouseType): -# if (len(mouseType) == 3): -# apply(self.set, mouseType) -# else: -# list = kudzu.probe(kudzu.CLASS_MOUSE, kudzu.BUS_UNSPEC, -# kudzu.PROBE_ONE) -# if (list): -# (device, module, desc) = list[0] - -# if device == "sunmouse": -# self.set("Sun - Mouse", 0) -# elif device == "psaux": -# self.set("Generic - 3 Button Mouse (PS/2)", 0) -# else: -# self.set("Generic - 2 Button Mouse (serial)", 1) - -# self.device = device -# else: -# self.set("Generic - 2 Button Mouse (serial)", 1, 'ttyS0') - |