#1 bug in MouseAxis class?

open
nobody
None
5
2006-11-03
2006-11-03
Jon Roberts
No

I'm trying to figure out how to use the mouse and get the following error
when calling MouseTrack.getAxes()

File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/pyepl/mouse.py", line 73, in __uinit__
mechinput.Axis.__init__(self, "Mouse axis %d" % axisnum, 0,
mousetrack.screensize[axisnum])
NameError: global name 'mousetrack' is not defined

Should line 73 of mouse.py be

mechinput.Axis.__init__(self, "Mouse axis %d" % axisnum)

Discussion