summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.cpp
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-06-14api/shortcuts: use unsigned index where ableStanislaw Halik
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-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-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-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
2015-12-06api/keys: fix buildStanislaw Halik
2015-12-05api/shortcuts: no longer keep shortcuts hardcodedStanislaw Halik
2015-11-22work: use the centralized keypress workerStanislaw Halik
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-11joy: pass shortcut only if pressed, not depressedStanislaw Halik
Issue: #118 Reported-by: @Len62
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
2015-10-30shortcuts: fix crash on LinuxStanislaw Halik
2015-10-24shortcuts: allow for binding same key to multiple functionsStanislaw Halik
Closes #258
2015-10-20shortcuts: fix osx/linux keystrokes persistingopentrack-2.3-rc19p2Stanislaw Halik
2015-10-20all: update copyright where appropriateStanislaw Halik
2015-10-17shortcuts: alias right modifier keys to left modifier keysStanislaw Halik
Issue: #257 Closes #257
2015-10-11shortcuts: fix short keypressesStanislaw Halik
Issue: #253
2015-10-07shortcuts: sleep less, drop less keystrokesStanislaw Halik
2015-10-02shortcuts: rework KeybindingWorker for win32Stanislaw Halik
The class is now usable outside of center/zero/toggle loop.
2015-07-25shortcuts: remove duplicationStanislaw Halik
2015-07-25rename to win32-shortcuts.cppStanislaw Halik
2015-07-25fix buildStanislaw Halik
2015-07-25shortcuts: store .ini value as portable stringStanislaw Halik
2015-07-25shortcuts: prototyped for LinuxStanislaw Halik
2015-07-25shortcuts: linux workStanislaw Halik
2015-07-25initial impl of arbitrary keybindingsStanislaw Halik
Issue: #118 Linux and OSX likely broken for now.
2015-07-20add my own copyrightStanislaw Halik
We need copyright on contributions or else it defaults to granting no rights.
2014-12-06move shortcut dialog to ui moduleStanislaw Halik
2014-11-29implement zero shortcutStanislaw Halik
2014-11-05fix keyboard shortcuts on win32 change during trackingopentrack-2.3-20141105Stanislaw Halik
Used to become unusable if changed during tracking.
2014-10-28hook up tray to buildStanislaw Halik
Issue: #64
2014-10-24check if keycode exists first, since keystate can be outta whackStanislaw Halik
2014-10-24always initialize keycode et al on win32Stanislaw Halik
2014-10-22long fun header -> .cppStanislaw Halik
2014-10-21workaround qxt-mini "shortcut failed to unregister"Stanislaw Halik
2014-10-20refactor 2/nStanislaw Halik
2014-10-20refactor 1/2 (?)Stanislaw Halik