summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/ftnoir_tracker_hat.cpp
AgeCommit message (Collapse)Author
2021-09-26compat: use std::clamp, remove own versionStanislaw 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-08-27tracker/hatire: appease clang analyzerStanislaw Halik
2018-07-13appease analyzerStanislaw Halik
2018-02-09tracker/hatire: clamp rotation to (-180)->180Stanislaw Halik
Some devices have numeric stability problems.
2017-12-26compat: use gettext convention for tr()Stanislaw Halik
2017-12-04api: add status check for modulesStanislaw Halik
2017-09-23use std::sizeStanislaw Halik
2017-07-24tracker/hatire: fix truncation warning onlyStanislaw Halik
2017-06-08tracker/hatire: fix breakageStanislaw Halik
Issue: #139
2016-11-18gui, modules: add more translatable stringsStanislaw Halik
2016-11-04modules: make names uniqueStanislaw Halik
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-05-09tracker/{hatire,rift-080}: remove outdated commentsStanislaw Halik
2016-05-09tracker/hatire: move to opentrack settings APIStanislaw Halik
2016-05-09tracker/hatire: remove min length check duplicationStanislaw Halik
The api callee already takes care of that so remove the "ok" argument.
2016-05-06tracker/hatire: simplifyStanislaw Halik
We don't need to move back the datagram since we're processing the original.
2016-05-06tracker/hatire: prevent infinite loop when no end marker and start at index 0Stanislaw Halik
2016-05-04tracker/hatire: remove disconnected logicStanislaw Halik
It's not used anywhere.
2016-05-04tracker/hatire: remove copy-pasted codeStanislaw Halik
2016-05-04tracker/hatire: try to optimize the polling pathStanislaw Halik
Issue: #327
2016-05-04tracker/hatire: fix spelling in identifiersStanislaw Halik
2016-05-04tracker/hatire: remove raceStanislaw Halik
Don't prepend existing remaining data racing with add new data. Expose the lock as a public member.
2016-04-29tracker/hatire: move io to a separate threadStanislaw Halik
We can't have async io on the main thread because QSerialPort's readyRead() signal can fire constantly, thus consuming all CPU time. We can't sleep in the main thread either as that blocks too many things. We can't ignore readyRead() invocations over a threshold as that'll make us lose some of data notifications. Refactor hatire to put IO on a thread. Since this is a separate Qt event loop, we may sleep in there. Further, add a debug mode reading data from a file, as if it came from a serial-attached device. Issue: #327
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224