summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/functionconfig.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-28 08:12:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-28 08:12:07 +0200
commit68e5a04f438fafd984ac0bf0424fa75294a8dc06 (patch)
treebc7bc3ec85629824a25184539a708ea226f747b3 /spline-widget/functionconfig.cpp
parent1fddde254bb0c9532304ccd7db91aa1b6df5c3bf (diff)
logic/joystick: fix multiple bugs
- the enumerator and the handle list are now static; joysticks were erroneously destructed during refresh - setup dinput only once; creating LPDIRECTINPUT8 many times causes Release() to invalidate all handles - don't create joystick handles many times; same thing applies - refresh joy list on failed acquire; usually joystick is unplugged at that moment leading to endless stderr spam - use a static mutex as to avoid dinput races Issue: #315
Diffstat (limited to 'spline-widget/functionconfig.cpp')
0 files changed, 0 insertions, 0 deletions