summaryrefslogtreecommitdiffhomepage
path: root/dinput/keybinding-worker.cpp
AgeCommit message (Collapse)Author
2022-07-01compat: drop pre-C++20 macros.hpp headerStanislaw Halik
2022-01-25dinput: don't pass keypress on subsequent pollStanislaw Halik
2022-01-25dinput: add mouse keybinding supportStanislaw Halik
Issue: #583
2022-01-13dinput: don't include <windows.h> in headersStanislaw Halik
Issue: #583
2021-12-16many: switch from using std::unique_ptr<t>::get() to &*ptrStanislaw Halik
2019-04-29compat: allow naming threads for debuggingStanislaw Halik
2019-03-21dinput: get rid of refcountingStanislaw Halik
2019-02-09dinput: fix api usageStanislaw Halik
Issue: #871 - don't sleep with a lock held - fix Acquire() return value check - remove needless Unacquire() calls - always use Poll(), even for keyboard - fix HRESULT debug output
2018-12-24fix undefined behavior undescore prefixesStanislaw Halik
2018-12-06cruft onlyStanislaw Halik
2018-10-25cleanups onlyStanislaw Halik
2018-10-08dinput: fix mingw-w64Stanislaw Halik
2018-08-25dinput/worker: split long functionStanislaw Halik
No functional changes.
2018-07-08modernize onlyStanislaw Halik
2018-06-26dinput: simplify di_tStanislaw Halik
2018-06-26modernize C++ syntaxStanislaw Halik
No visible changes (hopefully).
2018-06-26compat/meta: moved to macros alreadyStanislaw Halik
2018-04-05dinput: try fix cpu usageStanislaw Halik
I forgot who reported this, sorry.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-11-01dinput: skip double negation for `bool' valuesStanislaw Halik
2017-10-31dinput: fix modifiers not registeringStanislaw Halik
Found-by: @Len62 cf. https://github.com/opentrack/opentrack/issues/688#issuecomment-34063145
2017-10-29dinput: use buffered pollingStanislaw Halik
Short keyboard and mouse events won't get dropped. We can now decrease the poll interval from 250 Hz to 10Hz.
2017-10-27dinput: use c++14-style initializersStanislaw Halik
2017-09-23play with thread prioritiesStanislaw Halik
2017-07-06logic/shortcuts: reformat etcStanislaw Halik
2017-06-18get rid of "volatile" abuseStanislaw Halik
We heavily used "volatile bool" to check if the thread loop should stop. But this functionality is already provided by Qt5's QThread::requestInterruption. In other cases, "volatile" is wonderfully underspecified so it's better to ditch its usage in favor of std::atomic<t>. At the time we don't appear to be using the "volatile" keyword except when calling win32's Interlocked*() family of functions as necessary. In freetrackclient's header the "volatile" qualifier was used as part of a typedef. This doesn't work. Use it as part of data declaration.
2017-05-24dinput: fix build on GNUStanislaw Halik
2017-05-21dinput: minor cleanupStanislaw Halik
2017-05-12minor fixes onlyStanislaw Halik
2017-03-17compat/util: remove our make_unique custom implStanislaw Halik
2016-09-06logic/shortcuts: fix "held" not initialized for joysticksStanislaw Halik
Reported-by: @Sone989 Issue: #440
2016-09-06{dinput,logic,..}: cleanupStanislaw Halik
2016-08-31dinput: allow immediate button "unhold"Stanislaw Halik
Reported-by: @MathijsG Issue: #434
2016-08-23dinput: lessen logspamStanislaw Halik
2016-08-14dinput: fix dinput freezeStanislaw Halik
It was easiest to reproduce when a protocol failed to load. As usual, win32 debugging without MSVC++ is nearly useless.
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.