summaryrefslogtreecommitdiffhomepage
path: root/opentrack/keybinding-worker.hpp
AgeCommit message (Collapse)Author
2016-06-16all: split "api" into "api" and "logic"Stanislaw Halik
Here, the "logic" module has all the stuff for building one's own graphical user interface. The "api" module has stuff used by other trackers. While at it, each of "api", "logic", and "compat" need their own export headers. This is because of preprocessor symbol clashes. This is all because a change in the "gui"-only dependency required a relink of all the trackers, protocols, and flters. It takes too long when building in the release configuration. With the split, only the "gui" module gets rebuilt. Since it has close to no static dependencies, it's fast enough.
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.
2015-12-06api/keys: use a fake window for DirectInput handleStanislaw 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-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-22api/shortcuts: fix copy-paste erroropentrack-2.3-rc21p1Stanislaw Halik
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/joy: guard _WIN32 properlyStanislaw Halik
2015-11-22api/shortcuts: hopefully guard joystick _WIN32Stanislaw Halik
2015-11-22opentrack/joystick: rename header to clarify usageStanislaw 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: 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