summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoystick/vjoystick.cpp
AgeCommit message (Collapse)Author
2021-09-26compat: use std::clamp, remove own versionStanislaw Halik
2020-01-27proto/vjoystick: ignore version checkStanislaw Halik
Issue: #1030
2020-01-27proto/vjoystick: fix buildStanislaw Halik
2020-01-16proto/vjoystick: log version numbersStanislaw Halik
Issue: #1030
2019-09-22api: expose raw data to protocolsStanislaw Halik
Issue: #975
2019-02-13proto/vjoystick: simplifyStanislaw Halik
2019-02-11proto/vjoystick: fix threading issueStanislaw Halik
Acquiring given joystick id must be done on the same thread as the feeder apparently. Provide diagnostics on failure. Issue: #860
2019-01-16proto/mouse: add legacy input methodStanislaw Halik
2018-07-08modernize onlyStanislaw Halik
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-26compat: use gettext convention for tr()Stanislaw Halik
2017-12-18plugins: rename check_status -> initializeStanislaw Halik
It's a contract for plugin invocation that the particular function fills the role of initialization. Rename accordingly.
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
2016-11-05modules: make more strings translatableStanislaw Halik
2016-09-18add missing copyright termsStanislaw Halik
Due to fucking AT&T vs BSD suit copyright defaults to all rights reserved. Fuck Berne Convention as well.
2016-09-16proto/vjoystick: unbreakStanislaw Halik
Nice braino.
2016-08-23compat/util: move typical "clamp" function hereStanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-12proto/vjoystick: skip on the expensive checksStanislaw Halik
2016-08-08proto/vjoystick: add new vjoystick protocol to replace vjoyStanislaw Halik