summaryrefslogtreecommitdiffhomepage
path: root/opentrack
AgeCommit message (Collapse)Author
2016-05-26api/shortcuts: only allow the exact modifier keysStanislaw Halik
Requested-by: white_fang on BMS forum Original message: I've setup shift+f11/f12 to incerease/decrease f18's flaps , ... F11 and F12 are free in BMS , 'donothing' action. so I want ONLY F11 to toggle opentracks enable/disable (and only F12 to re-center) , but it also reacts when in BMS and press SHIFT+F11 to toggle flaps on f18
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
2016-05-23api/plugins: disable copy of plugin classesStanislaw Halik
Sometimes we dereference to cast to a reference. Prevent typos that cause copies.
2016-05-22{compat,api}/camera: make CoInitializeEx use the right threading apartmentStanislaw Halik
2016-05-22cmake/many: update for dinput8 manual link removalStanislaw Halik
It's automatic now.
2016-05-17api/plugins: add final to dylib structStanislaw Halik
We don't have a virtual dtor and we don't want a vtable.
2016-05-17cmake/many: remove obsolete keywords from cmake macro invocationStanislaw Halik
2016-05-17api/plugins: use QLibrary. remove the dlopen(3) code pathStanislaw Halik
Given the symbol visibility rules as verified with nm(1), QLibrary is sufficient. We don't need the RTLD_DEEPBIND "load hint" for Linux either as per the same visibility rules. This is untested on Apple but should be soon.
2016-05-17api/plugins: clean whitespace onlyStanislaw Halik
2016-05-15api/shortcuts: unbreak "while held" keys on win32Stanislaw Halik
2016-05-15api/shortcuts: appease "attribute unused but used" warningStanislaw Halik
2016-05-15api/shortcuts: appease pointless compiler warningsStanislaw 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-15api,gui: disable all keyboard shortcuts while binding a keyStanislaw Halik
Previous disallowed binding an already-bound key on Unix since Qxt doesn't pass through bound keys unlike the Windows implementation. Refactor some common code. The Windows implementation isn't even compile-tested.
2016-05-15api/shortcuts: fix use-after-free on Linux and OSXStanislaw Halik
Issue: #349 Valgrind: yes
2016-05-15api: fix accidental removal of constnessStanislaw Halik
2016-05-13api: implement virtual dtors in a compilation unitStanislaw Halik
2016-05-06api: add class for computing running varianceStanislaw Halik
2016-05-04api: fix shortcuts for OSX and LinuxStanislaw Halik
2016-05-04api: fix permissions bits. no code changes.Stanislaw Halik
2016-04-29api, main: implement new keybindingsStanislaw Halik
The following keybindings are now implemented: - restart tracking. if not started, starts. - toggle (keep position) while key held - zero (keep zero) while key held The latter two options only work for Windows as libqxt doesn't support them. Closes #291
2016-04-23api: make NaN/Inf check work even with full fast mathStanislaw Halik
2015-12-18api/mat: fix typos/breakageStanislaw Halik
2015-12-17api/joy: refresh only manually on certain eventsStanislaw Halik
Refresh joylist when new listener arrives, and when the joy singleton just gets created. Enumerating joys all the time causes high CPU usage for some of the users. Issue: #279 Backtrace-by: @exulant Reported-by: @aka2k
2015-12-17cmake/api: link with strmiids.lib on win32Stanislaw Halik
It worked by accident since cmake/compat already links to it.
2015-12-06api/keys: prevent idempotent keysopentrack-2.3-rc21p4Stanislaw Halik
2015-12-06api/joy: move from headerStanislaw Halik
2015-12-06api/joy: prevent idempotent keypressed passed to receiverStanislaw Halik
2015-12-06api/joy: speed up poll_axis pathStanislaw Halik
We don't really need to poll for joysticks in tracker/joy.
2015-12-06api/joy: nix static, now that we're not a singletonStanislaw Halik
2015-12-06joystick: no longer singleton, use fake window handleStanislaw Halik
We can create arbitrary amount of dinput handles, given they're passed unique window handles.
2015-12-06api/keys: use a fake window for DirectInput handleStanislaw Halik
2015-12-06api/keys: nix tautological #ifdefStanislaw Halik
2015-12-06api/camera-names: move to compat/Stanislaw Halik
2015-12-06api/camera: move from headerStanislaw Halik
There's no need to have a copy in each module.
2015-12-06api/keys: initialize hresultStanislaw Halik
2015-12-06api/keys: fix buildStanislaw Halik
2015-12-06api, main: implement global shortcuts for controlling trackingStanislaw Halik
Issue: #252 That involves moving stuff around to get rid of circular dependencies. You need to bind keys to shortcuts again this once.
2015-12-05api/shortcuts: no longer keep shortcuts hardcodedStanislaw Halik
2015-12-05api/keys: fix multiple shortcut receiversStanislaw Halik
We can't depend on std::vector's address of array subscript to remain constant, duh.
2015-12-03api/joystick: refresh more often, it's cheap enough cpu-wiseStanislaw Halik
2015-12-03api/joy: there's no joy_handle == nullptr case, don't check for itStanislaw Halik
2015-12-03api, compat: clean up verbose fprintf logspamStanislaw Halik
2015-12-03api/joy: fix raceStanislaw Halik
erase from iterator referenced the wrong 'joys' variable
2015-11-29api/joystick: drop locking, add commentStanislaw Halik
2015-11-29api/joystick: oops, access the right 'joys' variableStanislaw Halik
2015-11-29api/joystick: reduce mutex contentionStanislaw Halik
Don't look for changes in hotplug joysticks by freezing up polling for joysticks' axis and button. Issue: #267
2015-11-26api/shortcuts: remove pointless "friend" declarationsStanislaw Halik
2015-11-26api/shortcuts: move to separate definitionStanislaw Halik
There's no need to have definitions in header for non-template classes
2015-11-24api/shortcuts: don't unacquire joy handle pointlesslyStanislaw Halik