psychopy/psychopy — pull request #571 by isolver (2014-04-21 14:25:49+00:00)
Title: BF: _onPygletKey was using clock.getTime

*All other global timers, including what is used in _onPygletText use
core.getTime() (i.e. use relative to exp. start)

*clock.getTime() is used in events.py for Mouse button time calculations, which currently look as follows (only 1 button shown):

if button == pyglet.window.mouse.LEFT:
mouseButtons[0]=1
mouseTimes[0]= psychopy.clock.getTime()-mouseClick[0].getLastResetTime()

Is this not the same as:

mouseTimes[0] = mouseClick[0].getTime()

If agreed, then should the code be simplified as suggested?