Revision 9d5f547d
Added by skyjake over 12 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- engine.pro (diff)
- portable
- include
- src
- canvas.cpp (diff)
- gl_main.c (diff)
- mouse_qt.c
- mouse_qt.cpp
- sys_input.c (diff)
- window.cpp (diff)
- win32
- engine
Input|Refactor: Perform mouse polling at a predictable point during the frame
The state of the mouse is now polled always at the same point in time
in relation to a frame update.
This ensures that the mouse information for each frame has been
acquired at the same point in time in relation to the update cycle
(providing the operating system provides high-precision mouse input).
Also cleans up the Canvas class slightly: trackMousePosition() is no
longer there and has been replaced with Qt-based mouse position
polling in mouse_qt.cpp.