e66e34ef7b
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. |
||
---|---|---|
.. | ||
tests | ||
.gitignore | ||
Makefile.in | ||
data_formats.c | ||
device.c | ||
device_private.h | ||
dinput.spec | ||
dinput_main.c | ||
dinput_private.h | ||
effect_linuxinput.c | ||
joystick_linux.c | ||
joystick_linuxinput.c | ||
keyboard.c | ||
mouse.c | ||
regsvr.c | ||
version.rc |