summaryrefslogtreecommitdiffhomepage
path: root/dinput
AgeCommit message (Collapse)Author
2020-01-13dinput: fix qhash template errorStanislaw Halik
Issue: #988
2019-12-29fix std::hash<QString>Stanislaw Halik
Fixes #1015
2019-04-29kill some logspamStanislaw Halik
2019-04-29compat: allow naming threads for debuggingStanislaw Halik
2019-03-28dinput: move locking to init functionStanislaw Halik
2019-03-21dinput: get rid of refcountingStanislaw Halik
2019-02-10dinput: fix debug logicStanislaw 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
2019-01-16cruft onlyStanislaw Halik
2019-01-16compat/mutex: removeStanislaw Halik
Always use the adaptive QMutex.
2019-01-16modernize onlyStanislaw Halik
- replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages
2019-01-16compat/spinlock: implement and use itStanislaw Halik
2019-01-16clang-tidy fixes onlyStanislaw Halik
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
2018-12-24style/quality onlyStanislaw Halik
No functional changes. - add `override' everywhere where missing - almost pass clang's `-Wweak-vtables' - avoid some float/double conversions - remove unused private members - make signedness conversions explicit - put stuff in right namespaces to aid analysis
2018-12-24fix undefined behavior undescore prefixesStanislaw Halik
2018-12-19dinput: remove joy logspamStanislaw Halik
2018-12-08clean up a bitStanislaw Halik
2018-12-06cruft onlyStanislaw Halik
2018-10-25cleanups onlyStanislaw Halik
2018-10-08dinput: fix mingw-w64Stanislaw Halik
2018-10-05silly busyworkStanislaw Halik
2018-10-05use attributes only at declaration, not definitionStanislaw Halik
2018-08-25dinput/worker: split long functionStanislaw Halik
No functional changes.
2018-07-31dinput: commentStanislaw Halik
2018-07-24minor cleanupsStanislaw Halik
2018-07-24dinput: fix POV hats, spurious eventsStanislaw Halik
2018-07-08modernize onlyStanislaw Halik
2018-06-26dinput: fix joystick POV hat typoStanislaw 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-05-27dinput/joy: fix typoStanislaw Halik
The POV_HAT_OFFSET typo was there since the beginning.
2018-05-02dinput: fix clang "non-constant-expression" errorStanislaw Halik
2018-04-05dinput: try fix cpu usageStanislaw Halik
I forgot who reported this, sorry.
2018-03-10sprinkle some `static constexpr inline'Stanislaw Halik
2018-02-12cmake: add zh_CNStanislaw Halik
cf. #746
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-10many: get rid of trailing type specifiersStanislaw Halik
2018-01-10cmake: cleanup, decruft, probably fix mingwStanislaw Halik
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-24dinput: less boilerplateStanislaw Halik
2017-07-06logic/shortcuts: reformat etcStanislaw Halik
2017-06-20dinput: prevent exporting symbols from the executableStanislaw 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