summaryrefslogtreecommitdiffstats
path: root/mouse.py
diff options
context:
space:
mode:
Diffstat (limited to 'mouse.py')
-rw-r--r--mouse.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mouse.py b/mouse.py
index 8c40056dd..16f36b812 100644
--- a/mouse.py
+++ b/mouse.py
@@ -48,7 +48,7 @@ class Mouse (SimpleConfigFile):
N_("Genius - NetScroll (PS/2)"):
("netmouse", "NetScrollPS/2", "psaux", 1, "geniusscrollps/2"),
N_("Genius - NetScroll+ (PS/2)") :
- ("netmouse", "NetMousePS/2", "psaux", 1, "geniusscrollps/2+"),
+ ("netmouse", "NetMousePS/2", "psaux", 1, "geniusscrollps/2+"),
N_("Kensington - Thinking Mouse (serial)"):
("Microsoft", "ThinkingMouse", "ttyS", 1, "thinking"),
N_("Kensington - Thinking Mouse (PS/2)"):
@@ -219,6 +219,7 @@ class Mouse (SimpleConfigFile):
# so leave it alone
if (not self.info["XMOUSETYPE"] == "IMPS/2"
and not self.info["XMOUSETYPE"] == "IntelliMouse"
+ and not self.info["XMOUSETYPE"] == "NetMousePS/2"
and not self.info["XMOUSETYPE"] == "None"
and not self.info["XMOUSETYPE"] == "none"):
curmouse[1] = self.info["XMOUSETYPE"]
@@ -232,6 +233,8 @@ class Mouse (SimpleConfigFile):
pass
def write(self, instPath):
+ if self.info["FULLNAME"] == "None - None":
+ return
f = open(instPath + "/etc/sysconfig/mouse", "w")
f.write(str (self))
f.close()