summaryrefslogtreecommitdiffhomepage
path: root/dinput
AgeCommit message (Collapse)Author
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
2016-11-05delete empty .tsStanislaw Halik
2016-11-04modules: add autogenerated translation filesStanislaw Halik
2016-11-03logic/tracker, dinput, tracker/joystick: fix rounding errorsStanislaw Halik
Issue: #487 Reported-by: @H-Bear-22 Closes #487 Also use a power of two for joy_axis_size. Floats are base 2. axis_max in tracker/joystick had a fencepost error.
2016-10-19dinput, tracker/pt: reword comments and fix harmless warningsStanislaw Halik
2016-09-16compat, dinput: don't overdo COM logicStanislaw 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-09-03simplify some on-exit messagesStanislaw Halik
2016-08-31dinput: allow immediate button "unhold"Stanislaw Halik
Reported-by: @MathijsG Issue: #434
2016-08-28dinput: shutup MSVC warningStanislaw Halik
2016-08-23dinput: lessen logspamStanislaw Halik
2016-08-23dinput: it's win32-only so don't guardStanislaw Halik
2016-08-18dinput: reduce init_lock scopeStanislaw Halik
2016-08-17dinput: link to dinput8 rather than dinput since dinput is deprecated.DaMichel
2016-08-17compat/win32-com: default to right COM type without caller specifying itStanislaw Halik
The main window always needs the apartment threaded context for OLE used by Qt. Default to apartment threaded before a QApplication is created, or if the thread is the QApplication thread. Use multithreaded COM otherwise.
2016-08-15dinput, COM: temporary fixes, to be testedStanislaw 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.