summaryrefslogtreecommitdiffhomepage
path: root/dinput
AgeCommit message (Collapse)Author
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
2017-05-12minor fixes onlyStanislaw Halik
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-03-22[COVERITY] dinput: fix possible null pointer dereferenceStanislaw Halik
2017-03-18dinput: shutup vc++ 2017 properlyStanislaw Halik
2017-03-17dinput: fix build on MSVC 2017Stanislaw Halik
2017-03-17compat/util: remove our make_unique custom implStanislaw Halik
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-21modules: add .ts filesStanislaw Halik
2016-12-25dinput/joy: prevent logspam on joy unplugStanislaw Halik