summaryrefslogtreecommitdiffhomepage
path: root/proto-mouse/ftnoir_protocol_mouse.cpp
AgeCommit message (Collapse)Author
2021-09-26compat: use std::clamp, remove own versionStanislaw Halik
2019-09-22api: expose raw data to protocolsStanislaw Halik
Issue: #975
2019-04-25proto/mouse: fix vertical movement wraparoundStanislaw Halik
2019-02-03proto/mouse: bring back NOCOALESCEStanislaw Halik
2019-01-16proto/mouse: add legacy input methodStanislaw Halik
2019-01-16cruft onlyStanislaw Halik
2019-01-16proto/mouse: use only one lookup tableStanislaw Halik
2018-10-08proto/mouse: fix fractionStanislaw Halik
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
2018-04-05modules: now use i18nStanislaw Halik
2018-02-15clean up "static" and "constexpr" typesStanislaw Halik
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-09proto/mouse: fix some bad arithmeticStanislaw Halik
2017-12-09many: use otr_tr for non-qobject translationStanislaw Halik
I haven't even compile-tested Linux and OSX-specific bits.
2017-12-04api: add status check for modulesStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-01-16proto/mouse: don't depend on float differenceStanislaw Halik
It underflowed cause of our high dt. Also get the smallest difference over the screen, for HMD devices. Allow for very low-sensitivity operation. Issue: #523
2016-11-04modules: make names uniqueStanislaw Halik
2016-09-09proto/mouse: remove wrong commentStanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-06-14proto/mouse: guard against +181 -> -179 wraparoundStanislaw Halik
Always use the shorter way around. This also adds a sensitivity param. Issue: #370
2015-10-30also rename protocol -> protoStanislaw Halik