mirror of
https://github.com/reactos/wine.git
synced 2025-02-19 12:21:46 +00:00

Put keyboard & mouse hook callbacks into separate thread. Move few global variables into object. Delete no longer used crit section. For hooks to work properly hook callback have to be in a thread with message loop. Some games create separate threads just to handle mouse and/or keyboard events that do not have message loop.