summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/xf86config.py b/xf86config.py
index 7d3ad7786..b40f9b794 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -294,12 +294,12 @@ EndSection
config.write (
"""
Section "Pointer"
- Protocol "%(mouseProto)s"
- Device "%(mouseDev)s"
+ Protocol "%s"
+ Device "/dev/%s"
Emulate3Buttons
Emulate3Timeout 50
EndSection
-""" % self.mouse)
+""" % (self.mouse.info["XMOUSETYPE"], self.mouse.device))
config.write (self.monitorSection ())
config.write (self.deviceSection ())
config.write (self.screenSection ())