summaryrefslogtreecommitdiffhomepage
path: root/opentrack/keybinding-worker.cpp
AgeCommit message (Collapse)Author
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
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-06api/keys: prevent idempotent keysopentrack-2.3-rc21p4Stanislaw Halik
2015-12-06api/keys: use a fake window for DirectInput handleStanislaw Halik
2015-12-06api/keys: nix tautological #ifdefStanislaw 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, compat: clean up verbose fprintf logspamStanislaw 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-22api/shortcuts: don't provide guard/stubs for non-win32Stanislaw Halik
The worker class is win32-only. Don't guard there, consumers are expected only to include it on _WIN32. For the same reason don't provide a stub for the keybinding worker.
2015-11-22api/shortcuts: hopefully guard joystick _WIN32Stanislaw Halik
2015-11-22api/shortcuts, tracker/joy: adapt to synchronized joy apiStanislaw Halik
2015-11-22api/keyboard: implement a central workerStanislaw Halik
DirectInput dies when two LPDIRECTINPUT8 handles are obtained. Implement a singleton worker providing keypress events.
2015-11-19shortcuts: nix single-use mutexStanislaw Halik
It also slept with lock held. Good riddance.
2015-11-11shortcuts: alloy kbd mods for joystick buttonsStanislaw Halik
2015-11-11shortcuts: map joystick buttons on depress onlyStanislaw Halik
Some buttons like the X65 mode switch are held all the time. Prevent them from hogging all the keybindings. Issue: #118
2015-11-11allow for binding joystick buttons to shortcut functionsStanislaw Halik
Win32 only Issue: #118
2015-11-01shortcuts: separate keybinding worker to another fileStanislaw Halik