• Vitaliy Margolen's avatar
    dinput: Create single thread for mouse and keyboard hook. · e66e34ef
    Vitaliy Margolen authored
    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.
    e66e34ef
Name
Last commit
Last update
..
tests Loading commit data...
.gitignore Loading commit data...
Makefile.in Loading commit data...
data_formats.c Loading commit data...
device.c Loading commit data...
device_private.h Loading commit data...
dinput.spec Loading commit data...
dinput_main.c Loading commit data...
dinput_private.h Loading commit data...
effect_linuxinput.c Loading commit data...
joystick_linux.c Loading commit data...
joystick_linuxinput.c Loading commit data...
keyboard.c Loading commit data...
mouse.c Loading commit data...
regsvr.c Loading commit data...
version.rc Loading commit data...